Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.497/2.497, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.00178/0.00178, allocations: 196.1 kB / 498.1 MB, free: 5.668 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.902/1.902, allocations: 223.1 MB / 0.7948 GB, free: 17.93 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.001069/0.001069, allocations: 100.3 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004173, allocations: 12.97 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3686, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2064/0.5751, allocations: 150.4 MB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.5755, allocations: 95.92 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00743/0.5829, allocations: 2.433 MB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.583, allocations: 0 / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.583, allocations: 4 kB / 1.372 GB, free: 8.938 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006998/0.5837, allocations: 428.8 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.803e-05/0.5838, allocations: 12.03 kB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.5839, allocations: 38.55 kB / 1.373 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.5839, allocations: 11.91 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.5841, allocations: 171 kB / 1.373 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.5841, allocations: 12 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.5842, allocations: 15.88 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.5844, allocations: 85.64 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5845, allocations: 4 kB / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5845, allocations: 0 / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5845, allocations: 0 / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.5847, allocations: 75.89 kB / 1.373 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.5854, allocations: 388.5 kB / 1.374 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.5856, allocations: 54.55 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.5856, allocations: 0 / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.5859, allocations: 103.2 kB / 1.374 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.5859, allocations: 0 / 1.374 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0004664/0.5864, allocations: 137.6 kB / 1.374 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.5864, allocations: 55.41 kB / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.5865, allocations: 112.9 kB / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.5866, allocations: 33.7 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.5867, allocations: 96.03 kB / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.5867, allocations: 15.81 kB / 1.374 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.5867, allocations: 0 / 1.374 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5868, allocations: 322.8 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.587, allocations: 55.97 kB / 1.374 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.5872, allocations: 87.33 kB / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.5874, allocations: 81.7 kB / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5874, allocations: 0 / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004554/0.5878, allocations: 203.3 kB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.5879, allocations: 43.2 kB / 1.375 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5879, allocations: 4 kB / 1.375 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5879, allocations: 0 / 1.375 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.588, allocations: 11.98 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.5881, allocations: 0 / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.5883, allocations: 59.86 kB / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.5883, allocations: 4 kB / 1.375 GB, free: 6.012 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001146/0.5885, allocations: 125.8 kB / 1.375 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.5885, allocations: 4 kB / 1.375 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.5885, allocations: 24.56 kB / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5885, allocations: 0 / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5886, allocations: 0 / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.5886, allocations: 4 kB / 1.375 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.5887, allocations: 189.6 kB / 1.375 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5888, allocations: 0 / 1.375 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/0.5888, allocations: 8 kB / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.5888, allocations: 4 kB / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.5889, allocations: 3.984 kB / 1.375 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.5889, allocations: 7.953 kB / 1.375 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5889, allocations: 96 / 1.375 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.5892, allocations: 140.9 kB / 1.375 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.5892, allocations: 89 kB / 1.376 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.5893, allocations: 4 kB / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.5893, allocations: 15.98 kB / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.5894, allocations: 11.94 kB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.5894, allocations: 4 kB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.49e-05/0.5895, allocations: 99.64 kB / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5895, allocations: 0 / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002496/0.5898, allocations: 32.11 kB / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0006897/0.5905, allocations: 0.6863 MB / 1.376 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.5909, allocations: 175.3 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5909, allocations: 0 / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.591, allocations: 48.05 kB / 1.377 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.5912, allocations: 11.94 kB / 1.377 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.5921, allocations: 0.7136 MB / 1.377 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.5924, allocations: 0.6926 MB / 1.378 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.494e-05/0.5924, allocations: 12.17 kB / 1.378 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.5925, allocations: 19.44 kB / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of SimCode: time 3.11e-07/0.5925, allocations: 0 / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.6097, allocations: 2.358 MB / 1.38 GB, free: 500 kB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/0.61, allocations: 190.7 kB / 1.38 GB, free: 260 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.493, allocations: 0 / 1.38 GB, free: 260 kB / 0.8698 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat does not exist to compare? outputFormat=mat