Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.473/2.473, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001168/0.001168, allocations: 183.3 kB / 498.1 MB, free: 5.742 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.606/1.606, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009282/0.0009282, allocations: 88.33 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 9.031 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2559, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.4376, allocations: 154.6 MB / 1.374 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.4379, allocations: 107.9 kB / 1.374 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02393/0.4619, allocations: 8.853 MB / 1.383 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4619, allocations: 0 / 1.383 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.848e-05/0.462, allocations: 15.94 kB / 1.383 GB, free: 14.29 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001379/0.4634, allocations: 0.759 MB / 1.383 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4634, allocations: 12.02 kB / 1.383 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.4636, allocations: 62.55 kB / 1.384 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.4637, allocations: 59.34 kB / 1.384 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008185/0.4645, allocations: 473.3 kB / 1.384 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.4646, allocations: 24.66 kB / 1.384 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.4646, allocations: 28 kB / 1.384 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007775/0.4654, allocations: 428.5 kB / 1.385 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4654, allocations: 3.938 kB / 1.385 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.4655, allocations: 15.95 kB / 1.385 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.4655, allocations: 11.98 kB / 1.385 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007262/0.4662, allocations: 334.2 kB / 1.385 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.4684, allocations: 1.557 MB / 1.386 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.4693, allocations: 380.2 kB / 1.387 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.4694, allocations: 4 kB / 1.387 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4694, allocations: 34.56 kB / 1.387 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 2.024e-06/0.4694, allocations: 4 kB / 1.387 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.001076/0.4705, allocations: 483.2 kB / 1.387 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/0.4706, allocations: 162.2 kB / 1.387 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.4711, allocations: 381 kB / 1.388 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.4711, allocations: 29.7 kB / 1.388 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.4713, allocations: 248.3 kB / 1.388 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/0.4714, allocations: 82.75 kB / 1.388 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.4714, allocations: 8 kB / 1.388 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4716, allocations: 350.8 kB / 1.388 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.4719, allocations: 131.9 kB / 1.389 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.4723, allocations: 225.3 kB / 1.389 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.4726, allocations: 148 kB / 1.389 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4726, allocations: 0 / 1.389 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007764/0.4734, allocations: 409.5 kB / 1.389 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4734, allocations: 12.03 kB / 1.389 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4734, allocations: 0 / 1.389 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4735, allocations: 4 kB / 1.389 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.4738, allocations: 67.89 kB / 1.389 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4738, allocations: 7.938 kB / 1.389 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.4741, allocations: 51.81 kB / 1.389 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.4741, allocations: 8 kB / 1.389 GB, free: 7.051 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002116/0.4743, allocations: 175.3 kB / 1.39 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.4744, allocations: 47.39 kB / 1.39 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.4745, allocations: 52 kB / 1.39 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4746, allocations: 4 kB / 1.39 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4746, allocations: 4 kB / 1.39 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4746, allocations: 0 / 1.39 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.4751, allocations: 481.1 kB / 1.39 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.4751, allocations: 0 / 1.39 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.4755, allocations: 63.89 kB / 1.39 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4755, allocations: 4 kB / 1.39 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.4755, allocations: 3.953 kB / 1.39 GB, free: 6.176 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.4755, allocations: 7.938 kB / 1.39 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4755, allocations: 48 / 1.39 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.4767, allocations: 0.6253 MB / 1.391 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.4769, allocations: 152.5 kB / 1.391 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.4769, allocations: 8 kB / 1.391 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.4772, allocations: 43.98 kB / 1.391 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.4773, allocations: 11.98 kB / 1.391 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4773, allocations: 7.984 kB / 1.391 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003444/0.4777, allocations: 299.1 kB / 1.391 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4777, allocations: 0 / 1.391 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003602/0.478, allocations: 75.84 kB / 1.391 GB, free: 4.93 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.001412/0.4795, allocations: 1.174 MB / 1.393 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007126/0.4802, allocations: 326 kB / 1.393 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4802, allocations: 384 / 1.393 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.4805, allocations: 159.9 kB / 1.393 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.4812, allocations: 115.6 kB / 1.393 GB, free: 3.145 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.4859, allocations: 3.437 MB / 1.397 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.4863, allocations: 0.8346 MB / 1.397 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002375/0.4865, allocations: 51.25 kB / 1.397 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.4868, allocations: 155.3 kB / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/0.4868, allocations: 0 / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.5102, allocations: 8.54 MB / 1.406 GB, free: 6.25 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.5104, allocations: 212.5 kB / 1.406 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/2.677, allocations: 0 / 1.406 GB, free: 6.012 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat does not exist to compare? outputFormat=mat