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.34/2.34, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001151/0.001151, allocations: 192.7 kB / 487.4 MB, free: 5.047 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.509/1.509, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 91.8 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.908e-05, allocations: 9.641 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2782, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.32, allocations: 157.6 MB / 1.36 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.32, allocations: 89.23 kB / 1.36 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03226/1.352, allocations: 14.41 MB / 1.374 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/1.352, allocations: 0 / 1.374 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.874e-05/1.352, allocations: 19.28 kB / 1.374 GB, free: 32.8 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.001442/1.354, allocations: 0.8405 MB / 1.375 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.354, allocations: 15.59 kB / 1.375 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/1.354, allocations: 81.72 kB / 1.375 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/1.355, allocations: 449.2 kB / 1.375 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.427e-05/1.355, allocations: 53.7 kB / 1.375 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/1.355, allocations: 37.73 kB / 1.375 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005479/1.356, allocations: 316.1 kB / 1.376 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/1.356, allocations: 0.5405 MB / 1.376 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/1.356, allocations: 3.938 kB / 1.376 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/1.356, allocations: 6.938 kB / 1.376 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.356, allocations: 15.56 kB / 1.376 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/1.359, allocations: 2.558 MB / 1.379 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/1.359, allocations: 339.2 kB / 1.379 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/1.36, allocations: 158.1 kB / 1.379 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/1.36, allocations: 8 kB / 1.379 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/1.36, allocations: 274.5 kB / 1.38 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.355e-06/1.36, allocations: 3.938 kB / 1.38 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0005855/1.361, allocations: 351.8 kB / 1.38 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/1.361, allocations: 220.6 kB / 1.38 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/1.361, allocations: 0.5245 MB / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/1.361, allocations: 40.05 kB / 1.381 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/1.362, allocations: 351.8 kB / 1.381 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/1.362, allocations: 95.61 kB / 1.381 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/1.362, allocations: 0 / 1.381 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.362, allocations: 384.2 kB / 1.381 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/1.362, allocations: 118.3 kB / 1.382 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/1.362, allocations: 320.1 kB / 1.382 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/1.363, allocations: 139.8 kB / 1.382 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.363, allocations: 0 / 1.382 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0006116/1.363, allocations: 476.1 kB / 1.382 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.363, allocations: 7.688 kB / 1.382 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.363, allocations: 7.797 kB / 1.382 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.363, allocations: 11.59 kB / 1.382 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/1.363, allocations: 72.75 kB / 1.383 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.364, allocations: 15.45 kB / 1.383 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/1.364, allocations: 23.69 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/1.364, allocations: 34.3 kB / 1.383 GB, free: 27.58 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.0001763/1.364, allocations: 154.6 kB / 1.383 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/1.364, allocations: 65.84 kB / 1.383 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006374/1.365, allocations: 368.9 kB / 1.383 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.365, allocations: 15.77 kB / 1.383 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.365, allocations: 4 kB / 1.383 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/1.365, allocations: 7.766 kB / 1.383 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/1.366, allocations: 0.9685 MB / 1.384 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.366, allocations: 0 / 1.384 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/1.366, allocations: 34.62 kB / 1.384 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/1.366, allocations: 7.812 kB / 1.384 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/1.366, allocations: 7.922 kB / 1.384 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/1.366, allocations: 7.719 kB / 1.384 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.366, allocations: 0 / 1.384 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/1.367, allocations: 0.551 MB / 1.385 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/1.367, allocations: 149.2 kB / 1.385 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/1.367, allocations: 15.55 kB / 1.385 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.367, allocations: 19.62 kB / 1.385 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.367, allocations: 52.02 kB / 1.385 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/1.367, allocations: 18.38 kB / 1.385 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003905/1.368, allocations: 366.6 kB / 1.385 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.368, allocations: 0 / 1.385 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005307/1.368, allocations: 112.6 kB / 1.385 GB, free: 26.14 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.00102/1.369, allocations: 421.2 kB / 1.386 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005157/1.37, allocations: 361.8 kB / 1.386 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.37, allocations: 0 / 1.386 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002296/1.37, allocations: 188.7 kB / 1.386 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/1.371, allocations: 77.34 kB / 1.386 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/1.372, allocations: 0.7963 MB / 1.387 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/1.373, allocations: 0.9542 MB / 1.388 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002273/1.373, allocations: 74.84 kB / 1.388 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/1.373, allocations: 46.11 kB / 1.388 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.373, allocations: 4 kB / 1.388 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of Templates: time 0.009617/1.383, allocations: 5.183 MB / 1.393 GB, free: 22.07 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