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.234/2.234, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001743/0.001743, allocations: 176.8 kB / 487.4 MB, free: 5.035 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.407/1.407, allocations: 221.5 MB / 0.7824 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008305, allocations: 107.8 kB / 0.9219 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.625e-05, allocations: 8 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.233, allocations: 142.4 MB / 1.206 GB, free: 43.74 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8548/1.088, allocations: 150.9 MB / 1.354 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.088, allocations: 75.83 kB / 1.354 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02349/1.112, allocations: 9.103 MB / 1.362 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.572e-06/1.112, allocations: 0 / 1.362 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.661e-05/1.112, allocations: 11.53 kB / 1.363 GB, free: 33.3 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001064/1.113, allocations: 0.7612 MB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.113, allocations: 15.59 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/1.113, allocations: 66.06 kB / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/1.114, allocations: 411.5 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/1.114, allocations: 15.44 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/1.114, allocations: 34.84 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000465/1.114, allocations: 279.7 kB / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/1.115, allocations: 406.9 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.115, allocations: 3.875 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/1.115, allocations: 0 / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/1.115, allocations: 11.31 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/1.117, allocations: 1.525 MB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/1.117, allocations: 0.515 MB / 1.366 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/1.118, allocations: 218.5 kB / 1.367 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/1.118, allocations: 7.109 kB / 1.367 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/1.118, allocations: 182 kB / 1.367 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/1.118, allocations: 3.938 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004301/1.118, allocations: 287.6 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.118, allocations: 110.6 kB / 1.367 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/1.119, allocations: 293.6 kB / 1.367 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/1.119, allocations: 33.58 kB / 1.368 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/1.119, allocations: 261.3 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/1.119, allocations: 106.9 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/1.119, allocations: 3.844 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.119, allocations: 350.2 kB / 1.368 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/1.119, allocations: 106.7 kB / 1.368 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/1.12, allocations: 187.4 kB / 1.368 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/1.12, allocations: 128.8 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.12, allocations: 3.188 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005513/1.12, allocations: 370.2 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/1.121, allocations: 479.8 kB / 1.369 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.121, allocations: 7.734 kB / 1.369 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.121, allocations: 0 / 1.369 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/1.121, allocations: 90.52 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.121, allocations: 3.875 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/1.121, allocations: 101.6 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/1.121, allocations: 21.83 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/1.121, allocations: 3.875 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004667/1.122, allocations: 280.3 kB / 1.37 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/1.122, allocations: 0 / 1.37 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/1.122, allocations: 3.875 kB / 1.37 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/1.122, allocations: 79.91 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/1.122, allocations: 7.688 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/1.123, allocations: 79.84 kB / 1.37 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/1.123, allocations: 14.5 kB / 1.37 GB, free: 30 MB / 0.8386 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 () * 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.0001073/1.123, allocations: 120.8 kB / 1.37 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004373/1.123, allocations: 283.3 kB / 1.37 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/1.123, allocations: 38.38 kB / 1.371 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.976e-05/1.123, allocations: 41.75 kB / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.123, allocations: 7.625 kB / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/1.123, allocations: 0 / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.123, allocations: 0 / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/1.124, allocations: 0.8786 MB / 1.371 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.124, allocations: 0 / 1.371 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/1.125, allocations: 86.69 kB / 1.371 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/1.125, allocations: 3.984 kB / 1.372 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.125, allocations: 6.641 kB / 1.372 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.125, allocations: 0 / 1.372 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.125, allocations: 3.953 kB / 1.372 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/1.125, allocations: 0.532 MB / 1.372 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/1.125, allocations: 121 kB / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/1.125, allocations: 4.062 kB / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/1.126, allocations: 37.14 kB / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/1.126, allocations: 24.17 kB / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/1.126, allocations: 18.72 kB / 1.372 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001889/1.126, allocations: 232.1 kB / 1.372 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.126, allocations: 0 / 1.372 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004999/1.126, allocations: 181.4 kB / 1.373 GB, free: 29.07 MB / 0.8386 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 () * 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.0009443/1.127, allocations: 1.093 MB / 1.374 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006407/1.128, allocations: 0.5761 MB / 1.374 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.128, allocations: 0 / 1.374 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/1.128, allocations: 137.5 kB / 1.374 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/1.129, allocations: 91.48 kB / 1.374 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/1.13, allocations: 0.6753 MB / 1.375 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/1.13, allocations: 0.8509 MB / 1.376 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002665/1.131, allocations: 65.31 kB / 1.376 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/1.131, allocations: 170.2 kB / 1.376 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.131, allocations: 0 / 1.376 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/1.157, allocations: 8.921 MB / 1.385 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/1.157, allocations: 201.9 kB / 1.385 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/3.326, allocations: 0 / 1.385 GB, free: 24.54 MB / 0.8386 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