Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",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.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.00117/0.00117, allocations: 190.9 kB / 0.4901 GB, free: 2.262 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.496/1.496, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001018/0.001018, allocations: 90.39 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 14.19 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3387, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.5243, allocations: 154.3 MB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5246, allocations: 79.95 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02236/0.547, allocations: 7.72 MB / 1.388 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.903e-06/0.547, allocations: 0 / 1.388 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.248e-05/0.5471, allocations: 4 kB / 1.388 GB, free: 7.348 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001164/0.5482, allocations: 0.5922 MB / 1.388 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5483, allocations: 8.562 kB / 1.388 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.677e-05/0.5484, allocations: 42.56 kB / 1.388 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.5485, allocations: 31.58 kB / 1.388 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.5492, allocations: 342.5 kB / 1.389 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.5492, allocations: 8.188 kB / 1.389 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.5493, allocations: 12 kB / 1.389 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.5496, allocations: 135.1 kB / 1.389 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5496, allocations: 3.938 kB / 1.389 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.5496, allocations: 8 kB / 1.389 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5497, allocations: 0 / 1.389 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.55, allocations: 116.4 kB / 1.389 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.551, allocations: 0.5051 MB / 1.389 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.5514, allocations: 138.7 kB / 1.389 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.5515, allocations: 4 kB / 1.389 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.5518, allocations: 119.4 kB / 1.39 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.5518, allocations: 0 / 1.39 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0007208/0.5525, allocations: 229.2 kB / 1.39 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.5526, allocations: 51.41 kB / 1.39 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.553, allocations: 342 kB / 1.39 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.553, allocations: 25.7 kB / 1.39 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.5531, allocations: 163.9 kB / 1.39 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.5532, allocations: 27.56 kB / 1.39 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.5532, allocations: 0 / 1.39 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5534, allocations: 342.8 kB / 1.391 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.5536, allocations: 96.5 kB / 1.391 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.5539, allocations: 132.3 kB / 1.391 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.5541, allocations: 97.78 kB / 1.391 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5541, allocations: 0 / 1.391 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000586/0.5547, allocations: 282 kB / 1.391 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5547, allocations: 4 kB / 1.391 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5548, allocations: 7.984 kB / 1.391 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5548, allocations: 0 / 1.391 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.555, allocations: 43.91 kB / 1.391 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.555, allocations: 4.031 kB / 1.391 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.5552, allocations: 27.89 kB / 1.391 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.5553, allocations: 11.98 kB / 1.391 GB, free: 3.219 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 (21): * Single equations (assignments): 21 * 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.0001676/0.5554, allocations: 157.7 kB / 1.392 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.5555, allocations: 23.72 kB / 1.392 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.556, allocations: 199.3 kB / 1.392 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.556, allocations: 4 kB / 1.392 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.556, allocations: 0 / 1.392 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.556, allocations: 0 / 1.392 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.5563, allocations: 289.4 kB / 1.392 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5563, allocations: 0 / 1.392 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.5565, allocations: 23.92 kB / 1.392 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5565, allocations: 0 / 1.392 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.5565, allocations: 4 kB / 1.392 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5565, allocations: 384 / 1.392 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5565, allocations: 0 / 1.392 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.557, allocations: 208.7 kB / 1.392 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/0.5571, allocations: 108.8 kB / 1.392 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.5571, allocations: 7.938 kB / 1.392 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.5573, allocations: 23.98 kB / 1.392 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.5574, allocations: 23.95 kB / 1.392 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.5574, allocations: 4 kB / 1.392 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002627/0.5577, allocations: 233.9 kB / 1.393 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5577, allocations: 0 / 1.393 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003059/0.558, allocations: 63.84 kB / 1.393 GB, free: 1.77 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 (11): * Single equations (assignments): 9 * 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.001646/0.5596, allocations: 1.073 MB / 1.394 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004817/0.5601, allocations: 181.2 kB / 1.394 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5602, allocations: 0 / 1.394 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.5604, allocations: 75.89 kB / 1.394 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.5607, allocations: 50.98 kB / 1.394 GB, free: 0.5312 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.5619, allocations: 0.9086 MB / 1.395 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.5623, allocations: 0.7638 MB / 1.396 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.5624, allocations: 33.92 kB / 1.396 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.5626, allocations: 79.41 kB / 1.396 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of SimCode: time 3.356e-06/0.5626, allocations: 0 / 1.396 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.5824, allocations: 5.626 MB / 1.401 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/0.5828, allocations: 232.2 kB / 1.402 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.533, allocations: 0 / 1.402 GB, free: 8.953 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat does not exist to compare? outputFormat=mat