Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",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.258/2.258, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001156/0.001156, allocations: 191.9 kB / 0.4901 GB, free: 2.223 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.669/1.669, allocations: 223.1 MB / 0.7992 GB, free: 15.56 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.001158/0.001158, allocations: 106.4 kB / 0.9396 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003961, allocations: 9 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2987, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.5033, allocations: 158.2 MB / 1.384 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.5037, allocations: 95.89 kB / 1.384 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03819/0.5419, allocations: 14.55 MB / 1.398 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5419, allocations: 3.938 kB / 1.398 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.458e-05/0.542, allocations: 15.98 kB / 1.398 GB, free: 8.168 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001371/0.5434, allocations: 0.9298 MB / 1.399 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5434, allocations: 12.56 kB / 1.399 GB, free: 7.16 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.5435, allocations: 90.52 kB / 1.399 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.5437, allocations: 90.91 kB / 1.399 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.5443, allocations: 444.2 kB / 1.4 GB, free: 6.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.5444, allocations: 49.3 kB / 1.4 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.5445, allocations: 60 kB / 1.4 GB, free: 6.395 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008463/0.5453, allocations: 0.6135 MB / 1.4 GB, free: 5.715 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5453, allocations: 0 / 1.4 GB, free: 5.715 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.5454, allocations: 24 kB / 1.4 GB, free: 5.691 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.5454, allocations: 19.94 kB / 1.4 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.5461, allocations: 375.6 kB / 1.401 GB, free: 5.301 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.5485, allocations: 2.581 MB / 1.403 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.5492, allocations: 392 kB / 1.404 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.5492, allocations: 7.984 kB / 1.404 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004416/0.5497, allocations: 297.3 kB / 1.404 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=44): time 1.813e-06/0.5497, allocations: 3.938 kB / 1.404 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.0009265/0.5506, allocations: 0.4952 MB / 1.404 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.5508, allocations: 218.2 kB / 1.405 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/0.5515, allocations: 0.5721 MB / 1.405 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.5515, allocations: 45.7 kB / 1.405 GB, free: 452 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.5518, allocations: 356.5 kB / 1.406 GB, free: 92 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.6488/1.201, allocations: 99.09 kB / 1.406 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.201, allocations: 10.69 kB / 1.406 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002792/1.201, allocations: 379.9 kB / 1.406 GB, free: 165.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/1.201, allocations: 138 kB / 1.406 GB, free: 165.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/1.202, allocations: 339.4 kB / 1.406 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/1.202, allocations: 157.9 kB / 1.407 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/1.202, allocations: 2.031 kB / 1.407 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001176/1.204, allocations: 0.5455 MB / 1.407 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.204, allocations: 6.938 kB / 1.407 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.204, allocations: 7.625 kB / 1.407 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/1.204, allocations: 10.59 kB / 1.407 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/1.204, allocations: 73.14 kB / 1.407 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/1.204, allocations: 13.42 kB / 1.407 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/1.204, allocations: 44.59 kB / 1.407 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/1.204, allocations: 27.16 kB / 1.407 GB, free: 165.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition2.t_start,transition2.t_start,$PRE.transition1.t_start,transition1.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0004664/1.205, allocations: 275.8 kB / 1.408 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.205, allocations: 67.05 kB / 1.408 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008668/1.206, allocations: 426.8 kB / 1.408 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.206, allocations: 5.719 kB / 1.408 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.206, allocations: 2.719 kB / 1.408 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.206, allocations: 3.734 kB / 1.408 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/1.208, allocations: 1.079 MB / 1.409 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.208, allocations: 1.25 kB / 1.409 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/1.208, allocations: 31.48 kB / 1.409 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/1.208, allocations: 3.406 kB / 1.409 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/1.208, allocations: 12.42 kB / 1.409 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.208, allocations: 8.328 kB / 1.409 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.208, allocations: 9.031 kB / 1.409 GB, free: 165 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/1.209, allocations: 0.5934 MB / 1.41 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/1.209, allocations: 151.2 kB / 1.41 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/1.209, allocations: 16.38 kB / 1.41 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/1.209, allocations: 16.33 kB / 1.41 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.209, allocations: 60.22 kB / 1.41 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/1.209, allocations: 20.8 kB / 1.41 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005819/1.21, allocations: 413.5 kB / 1.41 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/1.21, allocations: 2.594 kB / 1.41 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006204/1.21, allocations: 125.6 kB / 1.411 GB, free: 164.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002287/1.213, allocations: 1.866 MB / 1.412 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008875/1.214, allocations: 411.9 kB / 1.413 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.214, allocations: 0.75 kB / 1.413 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/1.214, allocations: 205.5 kB / 1.413 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/1.214, allocations: 81.22 kB / 1.413 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/1.221, allocations: 7.31 MB / 1.42 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/1.221, allocations: 0.9512 MB / 1.421 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003579/1.222, allocations: 77.69 kB / 1.421 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/1.222, allocations: 258.7 kB / 1.421 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.313e-06/1.222, allocations: 0 / 1.421 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/1.258, allocations: 12.14 MB / 1.433 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/1.258, allocations: 221.8 kB / 1.433 GB, free: 156 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.606, allocations: 1.969 kB / 1.433 GB, free: 156 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat does not exist to compare? outputFormat=mat