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.533/2.533, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001466/0.001466, allocations: 184.5 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.001093/0.001093, allocations: 91.91 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.302e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3175, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.478, allocations: 154.6 MB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/1.478, allocations: 85.69 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02248/1.5, allocations: 8.748 MB / 1.378 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.284e-06/1.5, allocations: 3.938 kB / 1.378 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.187e-05/1.5, allocations: 15.98 kB / 1.378 GB, free: 8.039 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.001691/1.502, allocations: 0.764 MB / 1.379 GB, free: 7.266 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.502, allocations: 8.031 kB / 1.379 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/1.502, allocations: 94.69 kB / 1.379 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/1.503, allocations: 78.55 kB / 1.379 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/1.504, allocations: 421.6 kB / 1.38 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/1.504, allocations: 42.86 kB / 1.38 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.743e-05/1.504, allocations: 54.25 kB / 1.38 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/1.505, allocations: 0.5007 MB / 1.38 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/1.505, allocations: 0 / 1.38 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/1.505, allocations: 20.62 kB / 1.38 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/1.505, allocations: 12 kB / 1.38 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007475/1.506, allocations: 357.5 kB / 1.381 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/1.509, allocations: 1.752 MB / 1.382 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/1.51, allocations: 478.2 kB / 1.383 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/1.51, allocations: 184.1 kB / 1.383 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/1.51, allocations: 11.92 kB / 1.383 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/1.511, allocations: 226.1 kB / 1.383 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 3.106e-06/1.511, allocations: 0 / 1.383 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006509/1.511, allocations: 327.6 kB / 1.384 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/1.511, allocations: 162.2 kB / 1.384 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/1.512, allocations: 455.3 kB / 1.384 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/1.512, allocations: 40.67 kB / 1.384 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/1.512, allocations: 272.6 kB / 1.385 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.512, allocations: 123.9 kB / 1.385 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/1.512, allocations: 7.5 kB / 1.385 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.513, allocations: 361.8 kB / 1.385 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/1.513, allocations: 105.4 kB / 1.385 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/1.513, allocations: 200.3 kB / 1.385 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/1.513, allocations: 125.3 kB / 1.385 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.513, allocations: 0 / 1.385 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005644/1.514, allocations: 364.8 kB / 1.386 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/1.514, allocations: 364.5 kB / 1.386 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.514, allocations: 32 / 1.386 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.514, allocations: 11.94 kB / 1.386 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/1.514, allocations: 90.69 kB / 1.386 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.514, allocations: 4 kB / 1.386 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/1.515, allocations: 91.3 kB / 1.386 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/1.515, allocations: 8 kB / 1.386 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.515, allocations: 7.953 kB / 1.386 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004366/1.515, allocations: 275 kB / 1.387 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/1.515, allocations: 96 / 1.387 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/1.515, allocations: 8 kB / 1.387 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/1.516, allocations: 71.03 kB / 1.387 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.516, allocations: 7.922 kB / 1.387 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/1.516, allocations: 75 kB / 1.387 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/1.516, allocations: 8 kB / 1.387 GB, free: 1.172 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.0001242/1.516, allocations: 127.6 kB / 1.387 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.745e-05/1.516, allocations: 59.23 kB / 1.387 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/1.517, allocations: 361 kB / 1.387 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.517, allocations: 4 kB / 1.387 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.517, allocations: 0 / 1.387 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.517, allocations: 0 / 1.387 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/1.518, allocations: 1.044 MB / 1.388 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.518, allocations: 3.938 kB / 1.388 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/1.519, allocations: 78.7 kB / 1.388 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.519, allocations: 7.938 kB / 1.388 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/1.519, allocations: 11.72 kB / 1.388 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/1.519, allocations: 7.938 kB / 1.388 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.519, allocations: 0 / 1.388 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/1.519, allocations: 0.6094 MB / 1.389 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/1.52, allocations: 139.2 kB / 1.389 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/1.52, allocations: 7.875 kB / 1.389 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/1.52, allocations: 51.2 kB / 1.389 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/1.52, allocations: 31.52 kB / 1.389 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/1.52, allocations: 11.62 kB / 1.389 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004089/1.52, allocations: 359.8 kB / 1.39 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.5e-07/1.52, allocations: 0 / 1.39 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005524/1.521, allocations: 169 kB / 1.39 GB, free: 14.7 MB / 0.8542 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.001255/1.522, allocations: 1.237 MB / 1.391 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008028/1.523, allocations: 462.8 kB / 1.391 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.523, allocations: 4 kB / 1.391 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/1.523, allocations: 157 kB / 1.392 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/1.524, allocations: 94.92 kB / 1.392 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/1.526, allocations: 0.7342 MB / 1.392 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/1.526, allocations: 0.8638 MB / 1.393 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003729/1.526, allocations: 86.19 kB / 1.393 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/1.527, allocations: 196.9 kB / 1.393 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of SimCode: time 5.1e-07/1.527, allocations: 7.938 kB / 1.393 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/1.555, allocations: 10.22 MB / 1.403 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/1.555, allocations: 183.5 kB / 1.404 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/3.902, allocations: 0 / 1.404 GB, free: 1.207 MB / 0.8542 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