Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.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.SingleZone.VAV.SetPoints.Validation.CoolingCoil,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil",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.245/2.245, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001066/0.001066, allocations: 177.1 kB / 498.1 MB, free: 5.672 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.529/1.529, allocations: 223.1 MB / 0.7948 GB, free: 17.89 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.000922/0.0009218, allocations: 102.9 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 10.44 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2498, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.4232, allocations: 152.2 MB / 1.372 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4235, allocations: 75.95 kB / 1.372 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01472/0.4382, allocations: 5.557 MB / 1.377 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4383, allocations: 0 / 1.377 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.452e-05/0.4383, allocations: 8 kB / 1.377 GB, free: 4.098 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009735/0.4393, allocations: 0.5871 MB / 1.378 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4393, allocations: 12.02 kB / 1.378 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.455e-05/0.4394, allocations: 58.55 kB / 1.378 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.4395, allocations: 31.62 kB / 1.378 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.44, allocations: 317.8 kB / 1.378 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.4401, allocations: 20.44 kB / 1.378 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.4401, allocations: 24 kB / 1.378 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.4407, allocations: 265.8 kB / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4407, allocations: 4 kB / 1.378 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.4407, allocations: 4 kB / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.4407, allocations: 8 kB / 1.378 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.4412, allocations: 205.6 kB / 1.379 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.4426, allocations: 0.8922 MB / 1.379 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.4433, allocations: 214.5 kB / 1.38 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.4433, allocations: 0 / 1.38 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.4437, allocations: 141.4 kB / 1.38 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.4437, allocations: 0 / 1.38 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.0007552/0.4444, allocations: 305.2 kB / 1.38 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.4445, allocations: 85.11 kB / 1.38 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.4448, allocations: 254.1 kB / 1.38 GB, free: 500 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.4449, allocations: 33.7 kB / 1.38 GB, free: 460 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.445, allocations: 172.2 kB / 1.381 GB, free: 284 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.445, allocations: 47.42 kB / 1.381 GB, free: 236 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.4451, allocations: 4 kB / 1.381 GB, free: 232 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4452, allocations: 342.8 kB / 1.381 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.4455, allocations: 100.1 kB / 1.381 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.4458, allocations: 152.7 kB / 1.381 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.446, allocations: 138.6 kB / 1.381 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4461, allocations: 0 / 1.381 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006817/0.4467, allocations: 332.2 kB / 1.382 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.4469, allocations: 393.6 kB / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.447, allocations: 4 kB / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.447, allocations: 0 / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.4472, allocations: 39.91 kB / 1.382 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.4472, allocations: 4 kB / 1.382 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.4475, allocations: 67.8 kB / 1.382 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.4476, allocations: 15.92 kB / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.4476, allocations: 5.25 kB / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005227/0.4481, allocations: 257.5 kB / 1.382 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4481, allocations: 3.984 kB / 1.382 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.4481, allocations: 11.92 kB / 1.382 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.4483, allocations: 23.98 kB / 1.382 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4483, allocations: 4 kB / 1.382 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.4486, allocations: 67.84 kB / 1.383 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.4486, allocations: 8 kB / 1.383 GB, free: 14.21 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.booPul.y,zonSta.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0002045/0.4488, allocations: 231.6 kB / 1.383 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.4489, allocations: 27.62 kB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/0.4489, allocations: 30.25 kB / 1.383 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.449, allocations: 0 / 1.383 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.449, allocations: 4 kB / 1.383 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.449, allocations: 3.953 kB / 1.383 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.4493, allocations: 325.5 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4493, allocations: 0 / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.4495, allocations: 35.97 kB / 1.383 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4495, allocations: 0 / 1.383 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.4495, allocations: 8 kB / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4495, allocations: 0 / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4495, allocations: 3.938 kB / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.45, allocations: 244.7 kB / 1.383 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.4501, allocations: 112.7 kB / 1.384 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.4502, allocations: 4 kB / 1.384 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.4503, allocations: 23.92 kB / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.4504, allocations: 19.97 kB / 1.384 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.4504, allocations: 4 kB / 1.384 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002151/0.4506, allocations: 206 kB / 1.384 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4506, allocations: 0 / 1.384 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004479/0.4511, allocations: 104 kB / 1.384 GB, free: 12.76 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.000871/0.452, allocations: 0.8093 MB / 1.385 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008643/0.4528, allocations: 478.4 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4529, allocations: 4 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.4531, allocations: 92.27 kB / 1.385 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4535, allocations: 54.28 kB / 1.385 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.455, allocations: 1.258 MB / 1.386 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.4553, allocations: 0.7599 MB / 1.387 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.4555, allocations: 30.28 kB / 1.387 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.4557, allocations: 95.39 kB / 1.387 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/0.4557, allocations: 0 / 1.387 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.4753, allocations: 6.079 MB / 1.393 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.4755, allocations: 224.7 kB / 1.393 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.359, allocations: 0 / 1.393 GB, free: 2.969 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil_res.mat does not exist to compare? outputFormat=mat