Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 188.1 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 221.3 MB / 0.7872 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 91.89 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.351e-05/5.353e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3072, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.462, allocations: 149.9 MB / 1.359 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003893/1.462, allocations: 83.86 kB / 1.359 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00853/1.471, allocations: 1.776 MB / 1.361 GB, free: 34.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.418e-06/1.471, allocations: 0 / 1.361 GB, free: 34.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.829e-05/1.471, allocations: 7.844 kB / 1.361 GB, free: 34.61 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009194/1.472, allocations: 431.7 kB / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.108e-05/1.472, allocations: 11.56 kB / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/1.472, allocations: 35.88 kB / 1.361 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.139e-05/1.472, allocations: 22.98 kB / 1.361 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/1.473, allocations: 173.8 kB / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/1.473, allocations: 0 / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/1.473, allocations: 13.47 kB / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/1.473, allocations: 81.41 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.473, allocations: 5.297 kB / 1.361 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/1.473, allocations: 6.531 kB / 1.361 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/1.473, allocations: 3.953 kB / 1.361 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/1.473, allocations: 44.25 kB / 1.362 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/1.474, allocations: 421.9 kB / 1.362 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/1.474, allocations: 53.05 kB / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.864e-05/1.474, allocations: 26.98 kB / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/1.475, allocations: 0 / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/1.475, allocations: 36.09 kB / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/1.475, allocations: 0 / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002859/1.475, allocations: 68.48 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/1.475, allocations: 55.25 kB / 1.362 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/1.475, allocations: 137.5 kB / 1.362 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/1.475, allocations: 33.27 kB / 1.362 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/1.475, allocations: 101.6 kB / 1.362 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/1.475, allocations: 12.34 kB / 1.362 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/1.475, allocations: 1.531 kB / 1.362 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.475, allocations: 325.3 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.86e-05/1.475, allocations: 23.36 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/1.476, allocations: 18.19 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/1.476, allocations: 20.75 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.476, allocations: 4 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001798/1.476, allocations: 77.12 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.476, allocations: 8.938 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/1.476, allocations: 0 / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.476, allocations: 5.625 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.476, allocations: 9.156 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.476, allocations: 1.875 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/1.476, allocations: 36.86 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/1.476, allocations: 0 / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.279e-05/1.476, allocations: 114.5 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/1.476, allocations: 7.219 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/1.477, allocations: 15.11 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.477, allocations: 3.375 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.477, allocations: 4 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.477, allocations: 2.469 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/1.477, allocations: 203 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.477, allocations: 0 / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-05/1.477, allocations: 15.08 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.477, allocations: 0 / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/1.477, allocations: 0 / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/1.477, allocations: 5.562 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.477, allocations: 3.875 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/1.477, allocations: 169.7 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/1.477, allocations: 88.94 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/1.477, allocations: 5.859 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/1.478, allocations: 30.31 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/1.478, allocations: 19.36 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/1.478, allocations: 0 / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001232/1.478, allocations: 114.4 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.478, allocations: 3.812 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003819/1.478, allocations: 15.44 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005464/1.479, allocations: 0.7064 MB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001793/1.479, allocations: 45.8 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.479, allocations: 3.844 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/1.479, allocations: 25.41 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/1.48, allocations: 8.047 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/1.48, allocations: 156.1 kB / 1.365 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/1.481, allocations: 0.701 MB / 1.365 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.258e-05/1.481, allocations: 13.19 kB / 1.365 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/1.481, allocations: 27.41 kB / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/1.481, allocations: 0 / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/1.498, allocations: 2.251 MB / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.498, allocations: 162.8 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/3.29, allocations: 0 / 1.368 GB, free: 30.29 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat does not exist to compare? outputFormat=mat