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.402/2.402, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.00162/0.00162, allocations: 180.9 kB / 492.3 MB, free: 0.5898 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.79/1.79, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.001224/0.001224, allocations: 95.09 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.581e-05/4.608e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.333, allocations: 142.4 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.44, allocations: 150.4 MB / 1.359 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.441, allocations: 89.03 kB / 1.359 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00726/1.448, allocations: 2.419 MB / 1.362 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/1.448, allocations: 0 / 1.362 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.457e-06/1.448, allocations: 0 / 1.362 GB, free: 34.62 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000516/1.449, allocations: 417.2 kB / 1.362 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.449, allocations: 11.53 kB / 1.362 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/1.449, allocations: 43.53 kB / 1.362 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/1.449, allocations: 11.69 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.815e-05/1.449, allocations: 176 kB / 1.362 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/1.449, allocations: 8.969 kB / 1.362 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/1.449, allocations: 7.75 kB / 1.362 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/1.449, allocations: 69.56 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.449, allocations: 0 / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.449, allocations: 5.125 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.449, allocations: 3.906 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/1.449, allocations: 28.31 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/1.45, allocations: 388.4 kB / 1.363 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/1.45, allocations: 41.83 kB / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/1.45, allocations: 24.89 kB / 1.363 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/1.45, allocations: 0 / 1.363 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/1.45, allocations: 73.19 kB / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/1.45, allocations: 0 / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001996/1.45, allocations: 83.08 kB / 1.363 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/1.45, allocations: 52.86 kB / 1.363 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/1.45, allocations: 114.6 kB / 1.363 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/1.45, allocations: 36.67 kB / 1.363 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/1.451, allocations: 102.2 kB / 1.363 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/1.451, allocations: 8.891 kB / 1.363 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/1.451, allocations: 3.5 kB / 1.363 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.451, allocations: 325.6 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.753e-05/1.451, allocations: 35.89 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.293e-05/1.451, allocations: 70.05 kB / 1.364 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/1.451, allocations: 67.77 kB / 1.364 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.451, allocations: 0 / 1.364 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002485/1.451, allocations: 164.5 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/1.451, allocations: 38.41 kB / 1.364 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.451, allocations: 7.891 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.451, allocations: 1.406 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/1.451, allocations: 21.91 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.451, allocations: 0 / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/1.452, allocations: 54.7 kB / 1.364 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/1.452, allocations: 10.41 kB / 1.364 GB, free: 32.74 MB / 0.8386 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 () * 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 7.616e-05/1.452, allocations: 109.3 kB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/1.452, allocations: 7.625 kB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/1.452, allocations: 13.33 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.452, allocations: 3.953 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.452, allocations: 0 / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.452, allocations: 1.547 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/1.452, allocations: 184.9 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/1.452, allocations: 0 / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/1.452, allocations: 17.86 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.452, allocations: 3.844 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.452, allocations: 1.266 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/1.452, allocations: 0 / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.452, allocations: 3.953 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/1.452, allocations: 103.9 kB / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/1.452, allocations: 81.02 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/1.452, allocations: 9.297 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/1.452, allocations: 10.8 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/1.452, allocations: 17.17 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/1.452, allocations: 5.859 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.152e-05/1.453, allocations: 91.14 kB / 1.365 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.453, allocations: 3.844 kB / 1.365 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002111/1.453, allocations: 23.41 kB / 1.365 GB, free: 32.17 MB / 0.8386 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) * 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.0004036/1.453, allocations: 0.6532 MB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002088/1.453, allocations: 148 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.453, allocations: 0 / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.071e-05/1.453, allocations: 25.88 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/1.454, allocations: 15.38 kB / 1.366 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/1.454, allocations: 158 kB / 1.366 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/1.454, allocations: 0.6943 MB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.883e-05/1.454, allocations: 5.812 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/1.454, allocations: 24.56 kB / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.454, allocations: 0 / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/1.468, allocations: 2.388 MB / 1.369 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/1.468, allocations: 166.3 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/3.182, allocations: 4 kB / 1.369 GB, free: 30.2 MB / 0.8386 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