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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001783/0.001783, allocations: 187.6 kB / 492.3 MB, free: 0.6289 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.63/1.63, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009312/0.0009316, allocations: 85.03 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.183e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2632, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.931/1.194, allocations: 158.3 MB / 1.367 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/1.194, allocations: 88.33 kB / 1.367 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03294/1.227, allocations: 14.61 MB / 1.381 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.074e-06/1.227, allocations: 7.984 kB / 1.381 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.917e-05/1.228, allocations: 15.31 kB / 1.381 GB, free: 32.36 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.001126/1.229, allocations: 0.8403 MB / 1.382 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.229, allocations: 7.812 kB / 1.382 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/1.229, allocations: 93.33 kB / 1.382 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/1.229, allocations: 448.7 kB / 1.383 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.986e-05/1.23, allocations: 83.64 kB / 1.383 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.372e-05/1.23, allocations: 58.25 kB / 1.383 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/1.23, allocations: 0.5997 MB / 1.383 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/1.23, allocations: 3.938 kB / 1.383 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/1.231, allocations: 28.14 kB / 1.383 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/1.231, allocations: 11.22 kB / 1.383 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/1.231, allocations: 370.8 kB / 1.384 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/1.233, allocations: 2.653 MB / 1.386 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/1.234, allocations: 354.1 kB / 1.387 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/1.234, allocations: 183.8 kB / 1.387 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/1.234, allocations: 4 kB / 1.387 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003481/1.234, allocations: 279.8 kB / 1.387 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 3.206e-06/1.234, allocations: 0 / 1.387 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0005829/1.235, allocations: 384.5 kB / 1.388 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/1.235, allocations: 224.5 kB / 1.388 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/1.236, allocations: 0.5412 MB / 1.388 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/1.236, allocations: 58.47 kB / 1.388 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/1.236, allocations: 361.6 kB / 1.389 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/1.236, allocations: 99.83 kB / 1.389 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/1.236, allocations: 11.62 kB / 1.389 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.236, allocations: 383.8 kB / 1.389 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/1.236, allocations: 132 kB / 1.389 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/1.237, allocations: 341.1 kB / 1.39 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/1.237, allocations: 148.2 kB / 1.39 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.237, allocations: 3.844 kB / 1.39 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0006355/1.238, allocations: 0.5331 MB / 1.39 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.238, allocations: 7.594 kB / 1.39 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.238, allocations: 7.594 kB / 1.39 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.238, allocations: 7.719 kB / 1.39 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/1.238, allocations: 71.72 kB / 1.39 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.238, allocations: 19.33 kB / 1.39 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/1.238, allocations: 37.03 kB / 1.39 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/1.238, allocations: 33.33 kB / 1.39 GB, free: 26.84 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.0001515/1.238, allocations: 170.1 kB / 1.391 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/1.238, allocations: 69.73 kB / 1.391 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005899/1.239, allocations: 418.1 kB / 1.391 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.239, allocations: 3.844 kB / 1.391 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.239, allocations: 3.656 kB / 1.391 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/1.239, allocations: 3.984 kB / 1.391 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.24, allocations: 1.075 MB / 1.392 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.24, allocations: 3.969 kB / 1.392 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/1.24, allocations: 26.58 kB / 1.392 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/1.24, allocations: 7.781 kB / 1.392 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/1.241, allocations: 18.08 kB / 1.392 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/1.241, allocations: 0 / 1.392 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.241, allocations: 3.844 kB / 1.392 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/1.241, allocations: 0.5843 MB / 1.393 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/1.241, allocations: 154.1 kB / 1.393 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/1.241, allocations: 14.62 kB / 1.393 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/1.241, allocations: 18.2 kB / 1.393 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.242, allocations: 49.8 kB / 1.393 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/1.242, allocations: 18.77 kB / 1.393 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004141/1.242, allocations: 398.5 kB / 1.393 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.242, allocations: 0 / 1.393 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000512/1.243, allocations: 131.2 kB / 1.394 GB, free: 25.36 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.0009876/1.244, allocations: 454 kB / 1.394 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005856/1.244, allocations: 394 kB / 1.394 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.244, allocations: 5.375 kB / 1.394 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/1.244, allocations: 193.5 kB / 1.395 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/1.245, allocations: 85.45 kB / 1.395 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/1.246, allocations: 0.8301 MB / 1.395 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/1.247, allocations: 0.9484 MB / 1.396 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002165/1.247, allocations: 78.92 kB / 1.396 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/1.247, allocations: 38.34 kB / 1.396 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/1.247, allocations: 0 / 1.396 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of Templates: time 0.01038/1.257, allocations: 5.804 MB / 1.402 GB, free: 20.65 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (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 & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches