Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",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.311/2.311, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001423/0.001423, allocations: 184.9 kB / 492.3 MB, free: 0.582 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.601/1.601, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009885/0.0009885, allocations: 99.88 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.754e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2212, allocations: 142.4 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8031/1.024, allocations: 158.3 MB / 1.367 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/1.025, allocations: 90.16 kB / 1.367 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03371/1.058, allocations: 14.62 MB / 1.381 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.058, allocations: 4 kB / 1.381 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.398e-05/1.058, allocations: 15.62 kB / 1.381 GB, free: 32.37 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001788/1.06, allocations: 0.8396 MB / 1.382 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.06, allocations: 11.47 kB / 1.382 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/1.061, allocations: 96.84 kB / 1.382 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/1.061, allocations: 85.25 kB / 1.382 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009078/1.062, allocations: 445.7 kB / 1.383 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/1.062, allocations: 77.94 kB / 1.383 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.062, allocations: 55.31 kB / 1.383 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/1.063, allocations: 0.6042 MB / 1.384 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.063, allocations: 3.938 kB / 1.384 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/1.063, allocations: 22.16 kB / 1.384 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/1.063, allocations: 15.53 kB / 1.384 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006555/1.064, allocations: 370.3 kB / 1.384 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/1.067, allocations: 2.659 MB / 1.387 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/1.067, allocations: 356.4 kB / 1.387 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/1.068, allocations: 175.1 kB / 1.387 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/1.068, allocations: 11.14 kB / 1.387 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005724/1.068, allocations: 291.2 kB / 1.387 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 3.958e-06/1.068, allocations: 0 / 1.387 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0007328/1.069, allocations: 377.4 kB / 1.388 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/1.069, allocations: 221 kB / 1.388 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007408/1.07, allocations: 0.5494 MB / 1.388 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/1.07, allocations: 50.7 kB / 1.389 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/1.07, allocations: 352.6 kB / 1.389 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.07, allocations: 106.6 kB / 1.389 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/1.07, allocations: 10.56 kB / 1.389 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.07, allocations: 379.8 kB / 1.389 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/1.071, allocations: 135.8 kB / 1.389 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/1.071, allocations: 343.7 kB / 1.39 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/1.071, allocations: 149.7 kB / 1.39 GB, free: 27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.071, allocations: 3.984 kB / 1.39 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008597/1.072, allocations: 0.534 MB / 1.39 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/1.072, allocations: 8.469 kB / 1.39 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.072, allocations: 7.844 kB / 1.39 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/1.072, allocations: 12.16 kB / 1.39 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/1.073, allocations: 72.83 kB / 1.391 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/1.073, allocations: 19.58 kB / 1.391 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/1.073, allocations: 46.55 kB / 1.391 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/1.073, allocations: 26 kB / 1.391 GB, free: 26.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0001772/1.073, allocations: 176.9 kB / 1.391 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/1.073, allocations: 65.89 kB / 1.391 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/1.074, allocations: 405.5 kB / 1.391 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.074, allocations: 7.656 kB / 1.391 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.074, allocations: 0 / 1.391 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.074, allocations: 3.719 kB / 1.391 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/1.075, allocations: 1.08 MB / 1.392 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.075, allocations: 0 / 1.392 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/1.076, allocations: 31.11 kB / 1.392 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/1.076, allocations: 7.969 kB / 1.392 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/1.076, allocations: 15.39 kB / 1.392 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.076, allocations: 3.844 kB / 1.392 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.076, allocations: 0 / 1.392 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/1.076, allocations: 0.5933 MB / 1.393 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/1.076, allocations: 143 kB / 1.393 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.073e-05/1.076, allocations: 14.86 kB / 1.393 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/1.077, allocations: 18.75 kB / 1.393 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.077, allocations: 46.89 kB / 1.393 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/1.077, allocations: 22.52 kB / 1.393 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004093/1.077, allocations: 399.9 kB / 1.394 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.077, allocations: 0 / 1.394 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005556/1.078, allocations: 131.9 kB / 1.394 GB, free: 25.31 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 41 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * 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.001862/1.08, allocations: 1.802 MB / 1.395 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005872/1.08, allocations: 402 kB / 1.396 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.08, allocations: 4.125 kB / 1.396 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/1.081, allocations: 196.1 kB / 1.396 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/1.081, allocations: 78.17 kB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/1.083, allocations: 0.9858 MB / 1.397 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/1.083, allocations: 0.95 MB / 1.398 GB, free: 22.63 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002244/1.083, allocations: 74.75 kB / 1.398 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/1.084, allocations: 241 kB / 1.398 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.084, allocations: 0 / 1.398 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/1.108, allocations: 12.28 MB / 1.41 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/1.109, allocations: 202.6 kB / 1.41 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.291, allocations: 0 / 1.41 GB, free: 12.3 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat does not exist to compare? outputFormat=mat