Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.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.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking",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.522/2.522, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001133/0.001133, allocations: 173.1 kB / 498.1 MB, free: 5.773 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.563/1.563, allocations: 223.2 MB / 0.7948 GB, free: 18.03 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.0009196/0.0009197, allocations: 98.02 kB / 0.9346 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 10.5 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2456, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.4286, allocations: 151.7 MB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.429, allocations: 79.94 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02398/0.453, allocations: 9.2 MB / 1.38 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.453, allocations: 0 / 1.38 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.787e-05/0.4531, allocations: 12 kB / 1.38 GB, free: 1.074 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001629/0.4547, allocations: 0.8373 MB / 1.381 GB, free: 184 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4548, allocations: 12.02 kB / 1.381 GB, free: 172 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.4549, allocations: 82.53 kB / 1.381 GB, free: 80 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.4551, allocations: 71.14 kB / 1.381 GB, free: 8 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.4557, allocations: 408.9 kB / 1.382 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.4558, allocations: 37 kB / 1.382 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.349e-05/0.4559, allocations: 55.98 kB / 1.382 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.457, allocations: 0.5184 MB / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.4571, allocations: 4 kB / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.4571, allocations: 23.98 kB / 1.382 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4572, allocations: 15.94 kB / 1.382 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.4582, allocations: 431.7 kB / 1.383 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.4611, allocations: 1.644 MB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.4623, allocations: 0.636 MB / 1.385 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.4624, allocations: 8.281 kB / 1.385 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006331/0.463, allocations: 263.2 kB / 1.385 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.685e-06/0.463, allocations: 0 / 1.385 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001511/0.4645, allocations: 0.5822 MB / 1.386 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.4647, allocations: 114.8 kB / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.4652, allocations: 381.1 kB / 1.386 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/0.4653, allocations: 37.7 kB / 1.386 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.4656, allocations: 256.4 kB / 1.386 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4657, allocations: 122.3 kB / 1.387 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.4657, allocations: 8 kB / 1.387 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4659, allocations: 350.8 kB / 1.387 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.4664, allocations: 180.2 kB / 1.387 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/0.4669, allocations: 264 kB / 1.387 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.4674, allocations: 222.9 kB / 1.388 GB, free: 9.238 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.4674, allocations: 3.953 kB / 1.388 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001205/0.4686, allocations: 0.5293 MB / 1.388 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.4689, allocations: 484 kB / 1.389 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4689, allocations: 4 kB / 1.389 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.469, allocations: 4 kB / 1.389 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.4694, allocations: 91.88 kB / 1.389 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4694, allocations: 0 / 1.389 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.4699, allocations: 103.6 kB / 1.389 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.4699, allocations: 16 kB / 1.389 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.47, allocations: 4 kB / 1.389 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008316/0.4708, allocations: 417.2 kB / 1.389 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4708, allocations: 8.125 kB / 1.389 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/0.4708, allocations: 0 / 1.389 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.4711, allocations: 75.83 kB / 1.389 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4711, allocations: 4 kB / 1.389 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.4716, allocations: 95.64 kB / 1.389 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.4716, allocations: 12 kB / 1.389 GB, free: 7.355 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0003636/0.472, allocations: 268.9 kB / 1.39 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.4721, allocations: 47.44 kB / 1.39 GB, free: 7.035 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.4722, allocations: 48.53 kB / 1.39 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4722, allocations: 7.938 kB / 1.39 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4722, allocations: 0 / 1.39 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.4723, allocations: 7.938 kB / 1.39 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.4741, allocations: 1.098 MB / 1.391 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4741, allocations: 3.984 kB / 1.391 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.4745, allocations: 79.95 kB / 1.391 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.4745, allocations: 4 kB / 1.391 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.4745, allocations: 11.94 kB / 1.391 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.4745, allocations: 7.953 kB / 1.391 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4745, allocations: 0 / 1.391 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.4759, allocations: 0.7417 MB / 1.392 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.476, allocations: 132.5 kB / 1.392 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.4761, allocations: 8.047 kB / 1.392 GB, free: 4.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.4764, allocations: 44.02 kB / 1.392 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.4765, allocations: 31.91 kB / 1.392 GB, free: 4.723 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.4765, allocations: 12 kB / 1.392 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000364/0.4769, allocations: 303.1 kB / 1.392 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4769, allocations: 0 / 1.392 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006552/0.4776, allocations: 187.4 kB / 1.392 GB, free: 4.234 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (retFanAirTra.conP.I.y,retFanAirTra1.conP.I.y) * Number of discrete variables: 5 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,yFan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001822/0.4794, allocations: 1.322 MB / 1.394 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.481, allocations: 0.7444 MB / 1.394 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.481, allocations: 0 / 1.394 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.4814, allocations: 212 kB / 1.394 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.482, allocations: 99.42 kB / 1.395 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.4845, allocations: 1.989 MB / 1.397 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.485, allocations: 0.851 MB / 1.397 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002532/0.4853, allocations: 59.36 kB / 1.397 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.4855, allocations: 175.4 kB / 1.398 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of SimCode: time 4.61e-07/0.4856, allocations: 4 kB / 1.398 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.5103, allocations: 9.683 MB / 1.407 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.5105, allocations: 229.8 kB / 1.407 GB, free: 5.012 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/2.803, allocations: 4 kB / 1.407 GB, free: 5.008 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat does not exist to compare? outputFormat=mat