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.165/2.165, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.0009665/0.0009664, allocations: 173 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.3 MB / 0.7915 GB, free: 5.473 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.0009/0.0009, allocations: 91.95 kB / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.357e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2509, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8892/1.14, allocations: 158.1 MB / 1.373 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/1.14, allocations: 87.72 kB / 1.373 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03652/1.177, allocations: 14.52 MB / 1.388 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.803e-06/1.177, allocations: 0 / 1.388 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.324e-05/1.177, allocations: 15.94 kB / 1.388 GB, free: 15.43 MB / 0.8542 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.00166/1.179, allocations: 0.846 MB / 1.388 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.375e-05/1.179, allocations: 8.031 kB / 1.388 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/1.179, allocations: 95.12 kB / 1.388 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/1.179, allocations: 86.97 kB / 1.389 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/1.18, allocations: 442.8 kB / 1.389 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/1.18, allocations: 45.88 kB / 1.389 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.994e-05/1.18, allocations: 60.36 kB / 1.389 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009277/1.181, allocations: 0.6031 MB / 1.39 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/1.181, allocations: 0 / 1.39 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/1.181, allocations: 25.06 kB / 1.39 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/1.181, allocations: 15.98 kB / 1.39 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/1.182, allocations: 367.9 kB / 1.39 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/1.185, allocations: 2.579 MB / 1.393 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/1.186, allocations: 379.2 kB / 1.393 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/1.186, allocations: 167.8 kB / 1.393 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/1.186, allocations: 8 kB / 1.393 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004471/1.186, allocations: 291 kB / 1.393 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 3.096e-06/1.186, allocations: 0 / 1.393 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.0007603/1.187, allocations: 384.9 kB / 1.394 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.187, allocations: 229 kB / 1.394 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/1.188, allocations: 0.5495 MB / 1.395 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/1.188, allocations: 45.89 kB / 1.395 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/1.188, allocations: 362.9 kB / 1.395 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/1.188, allocations: 100.2 kB / 1.395 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/1.188, allocations: 10.94 kB / 1.395 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.189, allocations: 385.4 kB / 1.395 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/1.189, allocations: 126.6 kB / 1.395 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/1.189, allocations: 350.3 kB / 1.396 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/1.19, allocations: 150.6 kB / 1.396 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.19, allocations: 4 kB / 1.396 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008311/1.19, allocations: 0.5325 MB / 1.396 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.19, allocations: 11.95 kB / 1.397 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/1.19, allocations: 4 kB / 1.397 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/1.191, allocations: 12 kB / 1.397 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/1.191, allocations: 70.84 kB / 1.397 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/1.191, allocations: 12.52 kB / 1.397 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/1.191, allocations: 56.25 kB / 1.397 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/1.191, allocations: 23.25 kB / 1.397 GB, free: 7.156 MB / 0.8542 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 () * 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.0001848/1.191, allocations: 177.8 kB / 1.397 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/1.191, allocations: 63.25 kB / 1.397 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006661/1.192, allocations: 407 kB / 1.397 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.192, allocations: 12 kB / 1.397 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.192, allocations: 0 / 1.397 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.192, allocations: 11.92 kB / 1.397 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/1.194, allocations: 1.073 MB / 1.398 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.194, allocations: 0 / 1.398 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/1.194, allocations: 31.92 kB / 1.398 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/1.194, allocations: 4 kB / 1.398 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.194, allocations: 14.92 kB / 1.398 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.309e-06/1.194, allocations: 4 kB / 1.398 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.194, allocations: 7.984 kB / 1.398 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/1.195, allocations: 0.5848 MB / 1.399 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.195, allocations: 147.7 kB / 1.399 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/1.195, allocations: 18.75 kB / 1.399 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/1.195, allocations: 15.5 kB / 1.399 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.195, allocations: 58.53 kB / 1.399 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/1.195, allocations: 19.94 kB / 1.399 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00049/1.196, allocations: 406.5 kB / 1.4 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.6e-07/1.196, allocations: 0 / 1.4 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006272/1.196, allocations: 127 kB / 1.4 GB, free: 4.438 MB / 0.8542 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) * 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.00187/1.198, allocations: 1.812 MB / 1.402 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008651/1.199, allocations: 400.1 kB / 1.402 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.199, allocations: 0 / 1.402 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004532/1.2, allocations: 199.6 kB / 1.402 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/1.2, allocations: 86.39 kB / 1.402 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/1.203, allocations: 0.9881 MB / 1.403 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/1.204, allocations: 0.9521 MB / 1.404 GB, free: 424 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003969/1.205, allocations: 72.34 kB / 1.404 GB, free: 352 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/1.205, allocations: 255.5 kB / 1.404 GB, free: 280 kB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/1.205, allocations: 0 / 1.404 GB, free: 280 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04132/1.246, allocations: 12.28 MB / 1.416 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/1.247, allocations: 199.9 kB / 1.417 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/3.434, allocations: 0 / 1.417 GB, free: 3.938 MB / 0.8698 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