Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.325/2.325, allocations: 390.5 MB / 398 MB, free: 10.89 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.001309/0.001309, allocations: 183.5 kB / 491.2 MB, free: 1.543 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.787/1.787, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001014/0.001014, allocations: 99.92 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.803e-05, allocations: 7.984 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3495, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/1.614, allocations: 153.9 MB / 1.363 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/1.614, allocations: 88.19 kB / 1.363 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02245/1.637, allocations: 8.692 MB / 1.371 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.826e-06/1.637, allocations: 0 / 1.371 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.729e-05/1.637, allocations: 11.56 kB / 1.371 GB, free: 32.65 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.001442/1.638, allocations: 0.7595 MB / 1.372 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/1.639, allocations: 14.23 kB / 1.372 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/1.639, allocations: 69.75 kB / 1.372 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/1.639, allocations: 429.9 kB / 1.373 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/1.639, allocations: 15.53 kB / 1.373 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/1.639, allocations: 34.72 kB / 1.373 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006293/1.64, allocations: 329.1 kB / 1.373 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000758/1.641, allocations: 439.2 kB / 1.373 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.641, allocations: 0 / 1.373 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/1.641, allocations: 3.938 kB / 1.373 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/1.641, allocations: 11.47 kB / 1.373 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/1.644, allocations: 1.615 MB / 1.375 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.645, allocations: 461.1 kB / 1.375 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/1.645, allocations: 172.2 kB / 1.376 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/1.645, allocations: 10.5 kB / 1.376 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004008/1.646, allocations: 223.5 kB / 1.376 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.375e-06/1.646, allocations: 0 / 1.376 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006619/1.646, allocations: 285.2 kB / 1.376 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/1.646, allocations: 166 kB / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/1.647, allocations: 327.8 kB / 1.376 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/1.647, allocations: 29.14 kB / 1.377 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/1.647, allocations: 284.9 kB / 1.377 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/1.647, allocations: 116.4 kB / 1.377 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/1.647, allocations: 4.031 kB / 1.377 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.647, allocations: 351.5 kB / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/1.647, allocations: 103.4 kB / 1.377 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/1.648, allocations: 180.6 kB / 1.378 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/1.648, allocations: 124.5 kB / 1.378 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.648, allocations: 0 / 1.378 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004767/1.648, allocations: 325.3 kB / 1.378 GB, free: 30 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/1.649, allocations: 375.4 kB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.649, allocations: 0 / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.649, allocations: 7.781 kB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/1.649, allocations: 89.94 kB / 1.378 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/1.649, allocations: 3.844 kB / 1.378 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/1.649, allocations: 66.75 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/1.65, allocations: 18.19 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.65, allocations: 3.875 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004132/1.65, allocations: 239.2 kB / 1.379 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/1.65, allocations: 2.906 kB / 1.379 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/1.65, allocations: 7.766 kB / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/1.65, allocations: 73.2 kB / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/1.65, allocations: 3.906 kB / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/1.651, allocations: 51.45 kB / 1.379 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/1.651, allocations: 15.62 kB / 1.379 GB, free: 29.55 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.0001454/1.651, allocations: 119.9 kB / 1.379 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004185/1.651, allocations: 295 kB / 1.379 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/1.651, allocations: 46.77 kB / 1.379 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/1.652, allocations: 307.9 kB / 1.38 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/1.652, allocations: 3.844 kB / 1.38 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.652, allocations: 0 / 1.38 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.652, allocations: 6.5 kB / 1.38 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/1.653, allocations: 0.9421 MB / 1.381 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.653, allocations: 4.016 kB / 1.381 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/1.653, allocations: 85.02 kB / 1.381 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/1.653, allocations: 3.875 kB / 1.381 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/1.653, allocations: 3.141 kB / 1.381 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.653, allocations: 3.875 kB / 1.381 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.653, allocations: 4.031 kB / 1.381 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/1.654, allocations: 0.5571 MB / 1.381 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/1.654, allocations: 126 kB / 1.381 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/1.654, allocations: 2.625 kB / 1.381 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/1.655, allocations: 45.72 kB / 1.381 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.655, allocations: 36.73 kB / 1.381 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.655, allocations: 10.39 kB / 1.381 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002981/1.655, allocations: 254.6 kB / 1.382 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.655, allocations: 0 / 1.382 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005922/1.656, allocations: 170.5 kB / 1.382 GB, free: 28.45 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.00116/1.657, allocations: 1.188 MB / 1.383 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006786/1.658, allocations: 434.8 kB / 1.383 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/1.658, allocations: 3.938 kB / 1.383 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/1.658, allocations: 141.3 kB / 1.383 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/1.659, allocations: 69.58 kB / 1.384 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/1.66, allocations: 0.6852 MB / 1.384 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/1.661, allocations: 0.8761 MB / 1.385 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003383/1.661, allocations: 70.38 kB / 1.385 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/1.661, allocations: 191.8 kB / 1.385 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.661, allocations: 0 / 1.385 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/1.69, allocations: 8.386 MB / 1.394 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/1.69, allocations: 158.9 kB / 1.394 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/4.233, allocations: 0 / 1.394 GB, free: 22.9 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.fmu > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat does not exist to compare? outputFormat=mat