Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.321/2.321, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001393/0.001393, allocations: 174.9 kB / 0.4901 GB, free: 2.246 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.658/1.658, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.0009346/0.0009346, allocations: 98.78 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003655, allocations: 9.109 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2643, allocations: 143 MB / 1.229 GB, free: 85.3 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.4572, allocations: 153 MB / 1.379 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.4575, allocations: 79.94 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.4725, allocations: 5.555 MB / 1.384 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4726, allocations: 0 / 1.384 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.629e-05/0.4726, allocations: 8 kB / 1.384 GB, free: 6.5 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001115/0.4737, allocations: 0.5948 MB / 1.385 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.4738, allocations: 8.562 kB / 1.385 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.078e-05/0.4739, allocations: 58.55 kB / 1.385 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.474, allocations: 31.62 kB / 1.385 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006127/0.4746, allocations: 317.9 kB / 1.385 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.4747, allocations: 20.44 kB / 1.385 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.4747, allocations: 28 kB / 1.385 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.4753, allocations: 261.8 kB / 1.385 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4753, allocations: 0 / 1.385 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.4753, allocations: 4 kB / 1.385 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4753, allocations: 8 kB / 1.386 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.4759, allocations: 209.6 kB / 1.386 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.4772, allocations: 0.8883 MB / 1.387 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.4778, allocations: 218.5 kB / 1.387 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.4778, allocations: 0 / 1.387 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.4782, allocations: 143.4 kB / 1.387 GB, free: 3.547 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.4782, allocations: 3.938 kB / 1.387 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0007421/0.4789, allocations: 295.9 kB / 1.387 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.479, allocations: 85.11 kB / 1.387 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.4793, allocations: 258.1 kB / 1.388 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.4794, allocations: 33.7 kB / 1.388 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4795, allocations: 172.2 kB / 1.388 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.4796, allocations: 51.42 kB / 1.388 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.4796, allocations: 0 / 1.388 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4797, allocations: 342.8 kB / 1.388 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.48, allocations: 100.1 kB / 1.388 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.4803, allocations: 158.2 kB / 1.388 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.4806, allocations: 122.6 kB / 1.388 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4806, allocations: 4.031 kB / 1.388 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006851/0.4813, allocations: 332 kB / 1.389 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.4815, allocations: 393.7 kB / 1.389 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4815, allocations: 0 / 1.389 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4815, allocations: 0 / 1.389 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.4817, allocations: 39.91 kB / 1.389 GB, free: 1.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4817, allocations: 7.984 kB / 1.389 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.4821, allocations: 79.78 kB / 1.389 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.4821, allocations: 8 kB / 1.389 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.4821, allocations: 4.781 kB / 1.389 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005249/0.4827, allocations: 262.2 kB / 1.39 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.4827, allocations: 0 / 1.39 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/0.4827, allocations: 4 kB / 1.39 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.4828, allocations: 27.98 kB / 1.39 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.4828, allocations: 3.938 kB / 1.39 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.4831, allocations: 71.84 kB / 1.39 GB, free: 0.625 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.4832, allocations: 7.984 kB / 1.39 GB, free: 0.6172 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.0001894/0.4834, allocations: 229.1 kB / 1.39 GB, free: 392 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.4834, allocations: 19.72 kB / 1.39 GB, free: 372 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.4835, allocations: 30.25 kB / 1.39 GB, free: 340 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4835, allocations: 4 kB / 1.39 GB, free: 336 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4835, allocations: 0 / 1.39 GB, free: 336 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4835, allocations: 3.953 kB / 1.39 GB, free: 332 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.4838, allocations: 333.3 kB / 1.39 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4838, allocations: 0 / 1.39 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.484, allocations: 31.97 kB / 1.39 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.484, allocations: 7.938 kB / 1.39 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.484, allocations: 4 kB / 1.39 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.484, allocations: 0 / 1.39 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.484, allocations: 3.938 kB / 1.39 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.4845, allocations: 248.7 kB / 1.391 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.4846, allocations: 104.8 kB / 1.391 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.4847, allocations: 7.984 kB / 1.391 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.4848, allocations: 23.98 kB / 1.391 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.4849, allocations: 11.98 kB / 1.391 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.4849, allocations: 7.984 kB / 1.391 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001971/0.4851, allocations: 206 kB / 1.391 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4851, allocations: 0 / 1.391 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004036/0.4855, allocations: 100 kB / 1.391 GB, free: 15.17 MB / 0.9011 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.0008807/0.4864, allocations: 0.8101 MB / 1.392 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008557/0.4873, allocations: 474.5 kB / 1.392 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4873, allocations: 0 / 1.392 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.4875, allocations: 98.8 kB / 1.392 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.4879, allocations: 56.84 kB / 1.392 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.4896, allocations: 1.256 MB / 1.394 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.49, allocations: 0.7638 MB / 1.394 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.4902, allocations: 38.27 kB / 1.394 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.4904, allocations: 83.41 kB / 1.394 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of SimCode: time 5.11e-07/0.4904, allocations: 4 kB / 1.394 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.5121, allocations: 6.074 MB / 1.4 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.5124, allocations: 221.1 kB / 1.401 GB, free: 5.383 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.498, allocations: 4.812 kB / 1.401 GB, free: 5.383 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil_res.mat does not exist to compare? outputFormat=mat