Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.3/2.3, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001527/0.001527, allocations: 172.4 kB / 498.1 MB, free: 5.738 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.682/1.682, allocations: 223.1 MB / 0.7948 GB, free: 17.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.001001/0.001001, allocations: 92.27 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 11.41 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2547, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.4355, allocations: 153.3 MB / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4359, allocations: 83.89 kB / 1.373 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02135/0.4572, allocations: 7.327 MB / 1.38 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.686e-06/0.4573, allocations: 0 / 1.38 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.715e-05/0.4573, allocations: 4 kB / 1.38 GB, free: 1.203 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001318/0.4587, allocations: 0.5527 MB / 1.38 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.4588, allocations: 12.03 kB / 1.38 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.327e-05/0.4589, allocations: 38.56 kB / 1.381 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.459, allocations: 27.67 kB / 1.381 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007821/0.4598, allocations: 338.4 kB / 1.381 GB, free: 148 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.4598, allocations: 11.94 kB / 1.381 GB, free: 136 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.4599, allocations: 4 kB / 1.381 GB, free: 132 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.4601, allocations: 85.64 kB / 1.381 GB, free: 40 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4601, allocations: 4 kB / 1.381 GB, free: 36 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4601, allocations: 0 / 1.381 GB, free: 36 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4601, allocations: 4 kB / 1.381 GB, free: 32 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.4603, allocations: 63.86 kB / 1.381 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009864/0.4613, allocations: 468.4 kB / 1.381 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.4616, allocations: 98.52 kB / 1.382 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.4616, allocations: 0 / 1.382 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.4619, allocations: 83.41 kB / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.4619, allocations: 0 / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0004499/0.4623, allocations: 153.5 kB / 1.382 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4624, allocations: 55.69 kB / 1.382 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.4628, allocations: 338.1 kB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4629, allocations: 25.7 kB / 1.382 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.463, allocations: 140 kB / 1.382 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.463, allocations: 23.8 kB / 1.382 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.463, allocations: 7.984 kB / 1.382 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4632, allocations: 330.8 kB / 1.383 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.4633, allocations: 79.95 kB / 1.383 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.4635, allocations: 106.4 kB / 1.383 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.4637, allocations: 73.69 kB / 1.383 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4637, allocations: 4 kB / 1.383 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004192/0.4641, allocations: 229.8 kB / 1.383 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4641, allocations: 8 kB / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4641, allocations: 4.062 kB / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4642, allocations: 0 / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4643, allocations: 27.92 kB / 1.383 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.4643, allocations: 0 / 1.383 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.4645, allocations: 15.98 kB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.4645, allocations: 12 kB / 1.383 GB, free: 13.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001521/0.4647, allocations: 159.5 kB / 1.383 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.4647, allocations: 23.72 kB / 1.383 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.4651, allocations: 135.3 kB / 1.384 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4651, allocations: 0 / 1.384 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4651, allocations: 0 / 1.384 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4651, allocations: 3.984 kB / 1.384 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.4654, allocations: 269.4 kB / 1.384 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4654, allocations: 0 / 1.384 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.4654, allocations: 15.92 kB / 1.384 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4655, allocations: 0 / 1.384 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.4655, allocations: 4 kB / 1.384 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4655, allocations: 3.938 kB / 1.384 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4655, allocations: 0 / 1.384 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.4658, allocations: 156.8 kB / 1.384 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.466, allocations: 108.8 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.466, allocations: 8 kB / 1.384 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.4662, allocations: 15.98 kB / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.4663, allocations: 20.16 kB / 1.384 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4663, allocations: 4 kB / 1.384 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002941/0.4666, allocations: 237.9 kB / 1.384 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4666, allocations: 0 / 1.384 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003381/0.4669, allocations: 55.84 kB / 1.384 GB, free: 12.3 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001671/0.4686, allocations: 1.018 MB / 1.385 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.469, allocations: 121.8 kB / 1.386 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.469, allocations: 0 / 1.386 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.4691, allocations: 43.91 kB / 1.386 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.4695, allocations: 50.11 kB / 1.386 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4709, allocations: 0.85 MB / 1.386 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.4712, allocations: 0.7557 MB / 1.387 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.4714, allocations: 37.92 kB / 1.387 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4716, allocations: 79.34 kB / 1.387 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of SimCode: time 6.72e-07/0.4716, allocations: 0 / 1.387 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.4917, allocations: 5.163 MB / 1.392 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.4919, allocations: 234.2 kB / 1.393 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.323, allocations: 0 / 1.393 GB, free: 4.172 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat