Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.329/2.329, allocations: 393.5 MB / 408.4 MB, free: 10.87 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.001237/0.001237, allocations: 171.9 kB / 0.4901 GB, free: 2.094 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.572/1.572, allocations: 223.1 MB / 0.7992 GB, free: 14.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.0009733/0.0009733, allocations: 112.6 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 7.156 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.5248, allocations: 155.7 MB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5251, allocations: 95.94 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02726/0.5524, allocations: 10.46 MB / 1.392 GB, free: 2.992 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5524, allocations: 0 / 1.392 GB, free: 2.992 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.832e-05/0.5525, allocations: 8 kB / 1.392 GB, free: 2.984 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001048/0.5535, allocations: 0.6777 MB / 1.392 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.5536, allocations: 8.562 kB / 1.392 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.5537, allocations: 34.55 kB / 1.392 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.5537, allocations: 51.39 kB / 1.392 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.5544, allocations: 347.2 kB / 1.393 GB, free: 1.777 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.5544, allocations: 4 kB / 1.393 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.5544, allocations: 4 kB / 1.393 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.5546, allocations: 77.64 kB / 1.393 GB, free: 1.688 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5547, allocations: 0 / 1.393 GB, free: 1.688 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.5547, allocations: 12 kB / 1.393 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.5547, allocations: 0 / 1.393 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.5548, allocations: 39.92 kB / 1.393 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.5557, allocations: 468.5 kB / 1.393 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.5559, allocations: 82.53 kB / 1.393 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.5559, allocations: 0 / 1.393 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.5561, allocations: 83.45 kB / 1.393 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.5561, allocations: 0 / 1.393 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0003485/0.5565, allocations: 141.2 kB / 1.394 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.5566, allocations: 63.34 kB / 1.394 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.5572, allocations: 485.1 kB / 1.394 GB, free: 252 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.5572, allocations: 29.81 kB / 1.394 GB, free: 216 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.5574, allocations: 220 kB / 1.394 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.5575, allocations: 15.75 kB / 1.394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.5575, allocations: 4 kB / 1.394 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.5577, allocations: 358.8 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.5578, allocations: 55.97 kB / 1.395 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.5579, allocations: 86.55 kB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.5581, allocations: 59.97 kB / 1.395 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5581, allocations: 0 / 1.395 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003516/0.5584, allocations: 217 kB / 1.395 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5585, allocations: 4 kB / 1.395 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5585, allocations: 3.953 kB / 1.395 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5585, allocations: 4 kB / 1.395 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.5586, allocations: 24.05 kB / 1.395 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.5587, allocations: 0 / 1.395 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.5588, allocations: 16 kB / 1.395 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.5588, allocations: 8.234 kB / 1.395 GB, free: 15.13 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002081/0.5591, allocations: 186.3 kB / 1.395 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.5591, allocations: 39.44 kB / 1.395 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.5594, allocations: 149.4 kB / 1.396 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.5594, allocations: 3.953 kB / 1.396 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5595, allocations: 3.938 kB / 1.396 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.5595, allocations: 3.984 kB / 1.396 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.5598, allocations: 301.5 kB / 1.396 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5598, allocations: 0 / 1.396 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.5598, allocations: 4 kB / 1.396 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.5598, allocations: 0 / 1.396 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5598, allocations: 0 / 1.396 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.5599, allocations: 4 kB / 1.396 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5599, allocations: 3.953 kB / 1.396 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.5601, allocations: 156.5 kB / 1.396 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5603, allocations: 120.5 kB / 1.396 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.5603, allocations: 3.984 kB / 1.396 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.5604, allocations: 8 kB / 1.396 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.5605, allocations: 15.94 kB / 1.396 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.5605, allocations: 7.922 kB / 1.396 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004016/0.5609, allocations: 370.8 kB / 1.397 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5609, allocations: 3.938 kB / 1.397 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003101/0.5612, allocations: 63.92 kB / 1.397 GB, free: 13.61 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.00153/0.5627, allocations: 1.036 MB / 1.398 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.563, allocations: 99.89 kB / 1.398 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.563, allocations: 3.938 kB / 1.398 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.89e-05/0.5631, allocations: 35.92 kB / 1.398 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.5634, allocations: 51.5 kB / 1.398 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.5649, allocations: 1.182 MB / 1.399 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.5653, allocations: 0.8219 MB / 1.4 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.889e-05/0.5654, allocations: 25.69 kB / 1.4 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.5655, allocations: 115.4 kB / 1.4 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of SimCode: time 3.71e-07/0.5655, allocations: 0 / 1.4 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.588, allocations: 7.462 MB / 1.407 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.5882, allocations: 248.4 kB / 1.407 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/2.83, allocations: 0 / 1.407 GB, free: 2.789 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat does not exist to compare? outputFormat=mat