Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",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.319/2.319, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001215/0.001216, allocations: 180.9 kB / 492.3 MB, free: 0.625 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.696/1.696, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009678/0.0009678, allocations: 97.78 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.523e-05/4.525e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3725, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.615, allocations: 153.8 MB / 1.363 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.615, allocations: 87.17 kB / 1.363 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02359/1.639, allocations: 8.752 MB / 1.371 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.639, allocations: 0 / 1.371 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.265e-05/1.639, allocations: 11.62 kB / 1.371 GB, free: 34.31 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001882/1.641, allocations: 0.7718 MB / 1.372 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/1.641, allocations: 7.719 kB / 1.372 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002688/1.641, allocations: 91.36 kB / 1.372 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/1.641, allocations: 70.12 kB / 1.372 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/1.642, allocations: 432.9 kB / 1.373 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/1.642, allocations: 44.94 kB / 1.373 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/1.643, allocations: 55.22 kB / 1.373 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/1.644, allocations: 0.5023 MB / 1.373 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/1.644, allocations: 0 / 1.373 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/1.644, allocations: 21.34 kB / 1.373 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/1.644, allocations: 13 kB / 1.373 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/1.645, allocations: 351.7 kB / 1.374 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/1.648, allocations: 1.748 MB / 1.375 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/1.649, allocations: 470.5 kB / 1.376 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/1.649, allocations: 186.4 kB / 1.376 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/1.649, allocations: 7.875 kB / 1.376 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/1.65, allocations: 234.8 kB / 1.376 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 4.329e-06/1.65, allocations: 4.203 kB / 1.376 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.000716/1.65, allocations: 323.7 kB / 1.376 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/1.651, allocations: 164.6 kB / 1.377 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007076/1.651, allocations: 458.6 kB / 1.377 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/1.651, allocations: 35.92 kB / 1.377 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/1.652, allocations: 280.4 kB / 1.377 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/1.652, allocations: 123.1 kB / 1.378 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/1.652, allocations: 3.375 kB / 1.378 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.652, allocations: 362.2 kB / 1.378 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/1.652, allocations: 108.7 kB / 1.378 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/1.652, allocations: 199.1 kB / 1.378 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/1.653, allocations: 122.8 kB / 1.378 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.653, allocations: 0 / 1.378 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006191/1.653, allocations: 366.2 kB / 1.379 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/1.653, allocations: 366.2 kB / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/1.653, allocations: 0 / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/1.654, allocations: 3.875 kB / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/1.654, allocations: 87.45 kB / 1.379 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.654, allocations: 6.422 kB / 1.379 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/1.654, allocations: 87.44 kB / 1.379 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/1.654, allocations: 15 kB / 1.379 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.654, allocations: 4.969 kB / 1.379 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004683/1.655, allocations: 282.8 kB / 1.379 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.655, allocations: 7.703 kB / 1.379 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/1.655, allocations: 0 / 1.379 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/1.655, allocations: 72.73 kB / 1.38 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/1.655, allocations: 10.55 kB / 1.38 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/1.656, allocations: 69.72 kB / 1.38 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/1.656, allocations: 14.62 kB / 1.38 GB, free: 31.09 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001362/1.656, allocations: 129.8 kB / 1.38 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/1.656, allocations: 54.28 kB / 1.38 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006069/1.656, allocations: 347.1 kB / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.656, allocations: 3.812 kB / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.656, allocations: 4 kB / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.656, allocations: 7.109 kB / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/1.658, allocations: 1.039 MB / 1.381 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.658, allocations: 0 / 1.381 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/1.658, allocations: 85.39 kB / 1.381 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/1.658, allocations: 11.81 kB / 1.381 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/1.658, allocations: 5.781 kB / 1.381 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.658, allocations: 3.844 kB / 1.381 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.658, allocations: 3.938 kB / 1.381 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008551/1.659, allocations: 0.6001 MB / 1.382 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/1.659, allocations: 142.1 kB / 1.382 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.255e-05/1.659, allocations: 14.47 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/1.66, allocations: 43.14 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.66, allocations: 29.34 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/1.66, allocations: 17.53 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004805/1.66, allocations: 354.7 kB / 1.382 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.72e-07/1.66, allocations: 0 / 1.382 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006048/1.661, allocations: 172.2 kB / 1.383 GB, free: 30.02 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001237/1.662, allocations: 1.239 MB / 1.384 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008407/1.663, allocations: 457.6 kB / 1.384 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.663, allocations: 0 / 1.384 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/1.663, allocations: 154.1 kB / 1.384 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/1.664, allocations: 87.66 kB / 1.384 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/1.666, allocations: 0.74 MB / 1.385 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/1.666, allocations: 0.8678 MB / 1.386 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003923/1.667, allocations: 86.09 kB / 1.386 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/1.667, allocations: 195.6 kB / 1.386 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of SimCode: time 1.092e-06/1.667, allocations: 0 / 1.386 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/1.7, allocations: 10.23 MB / 1.396 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/1.7, allocations: 183 kB / 1.396 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/4.501, allocations: 0 / 1.396 GB, free: 23.27 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.fmu > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat does not exist to compare? outputFormat=mat