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.285/2.285, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.00112/0.00112, allocations: 165.2 kB / 498.1 MB, free: 5.742 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.671/1.671, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0009205/0.0009202, allocations: 99.5 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005449/0.0005447, allocations: 10.25 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3522, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.5541, allocations: 158.3 MB / 1.378 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5545, allocations: 91.95 kB / 1.378 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03694/0.5914, allocations: 14.66 MB / 1.392 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5915, allocations: 4 kB / 1.392 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.5915, allocations: 12 kB / 1.392 GB, free: 4.777 MB / 0.8855 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.001409/0.5929, allocations: 0.9381 MB / 1.393 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.593, allocations: 8.031 kB / 1.393 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.5932, allocations: 90.95 kB / 1.393 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007449/0.5939, allocations: 447.8 kB / 1.393 GB, free: 3.195 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.985e-05/0.594, allocations: 78.88 kB / 1.393 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.5941, allocations: 52 kB / 1.393 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009483/0.5951, allocations: 0.6176 MB / 1.394 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5951, allocations: 0 / 1.394 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.12e-05/0.5951, allocations: 27.98 kB / 1.394 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.5952, allocations: 12 kB / 1.394 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.5958, allocations: 379.5 kB / 1.394 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.5985, allocations: 2.675 MB / 1.397 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/0.5991, allocations: 361.5 kB / 1.397 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.5992, allocations: 4.281 kB / 1.397 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000458/0.5996, allocations: 288.7 kB / 1.398 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.5996, allocations: 4 kB / 1.398 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43): time 0.0009396/0.6006, allocations: 0.49 MB / 1.398 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.6007, allocations: 225.4 kB / 1.398 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006429/0.6014, allocations: 0.5564 MB / 1.399 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.6015, allocations: 53.69 kB / 1.399 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.6018, allocations: 356.5 kB / 1.399 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.178e-05/0.6019, allocations: 98.75 kB / 1.399 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.6019, allocations: 16 kB / 1.399 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.6021, allocations: 382.9 kB / 1.4 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.6024, allocations: 137.2 kB / 1.4 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.6028, allocations: 343.6 kB / 1.4 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.6031, allocations: 156.8 kB / 1.4 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6031, allocations: 0 / 1.4 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008112/0.6039, allocations: 0.5416 MB / 1.401 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.6039, allocations: 8.781 kB / 1.401 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.6039, allocations: 4 kB / 1.401 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.604, allocations: 16 kB / 1.401 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.6042, allocations: 71.83 kB / 1.401 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.6043, allocations: 11.94 kB / 1.401 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.6045, allocations: 47.67 kB / 1.401 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.6046, allocations: 28 kB / 1.401 GB, free: 10.77 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: 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 () * Number of clocked 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.0003387/0.6049, allocations: 277.4 kB / 1.401 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.605, allocations: 71.12 kB / 1.401 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/0.6058, allocations: 423 kB / 1.402 GB, free: 10 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.6058, allocations: 4 kB / 1.402 GB, free: 10 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6058, allocations: 4 kB / 1.402 GB, free: 9.996 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.6058, allocations: 3.984 kB / 1.402 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.6073, allocations: 1.083 MB / 1.403 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6074, allocations: 0 / 1.403 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.6075, allocations: 27.92 kB / 1.403 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.6075, allocations: 4 kB / 1.403 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.6075, allocations: 15.98 kB / 1.403 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.6075, allocations: 3.938 kB / 1.403 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6075, allocations: 4 kB / 1.403 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.6083, allocations: 0.5922 MB / 1.404 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.6084, allocations: 144.2 kB / 1.404 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.6085, allocations: 11.98 kB / 1.404 GB, free: 7.961 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.6087, allocations: 20 kB / 1.404 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.6088, allocations: 51.86 kB / 1.404 GB, free: 7.891 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.6088, allocations: 27.98 kB / 1.404 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004641/0.6093, allocations: 402.8 kB / 1.404 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6093, allocations: 0 / 1.404 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005762/0.6099, allocations: 123.9 kB / 1.404 GB, free: 7.352 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: 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) * Number of clocked states: 0 () * 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.001154/0.6111, allocations: 493.7 kB / 1.405 GB, free: 7.016 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007033/0.6118, allocations: 406.6 kB / 1.405 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6118, allocations: 8.062 kB / 1.405 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.6121, allocations: 204.5 kB / 1.405 GB, free: 6.414 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.6126, allocations: 88.38 kB / 1.405 GB, free: 6.328 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.6145, allocations: 1.314 MB / 1.407 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.615, allocations: 0.9497 MB / 1.408 GB, free: 4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002352/0.6153, allocations: 80.33 kB / 1.408 GB, free: 3.918 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.6154, allocations: 43.42 kB / 1.408 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of SimCode: time 2.3e-07/0.6154, allocations: 0 / 1.408 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of Templates: time 0.01195/0.6274, allocations: 5.677 MB / 1.413 GB, free: 14.24 MB / 0.9167 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