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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001586, allocations: 116.2 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.025, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.004436/1.03, allocations: 3.052 MB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00309/1.033, allocations: 1.746 MB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/1.033, allocations: 11.78 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/1.034, allocations: 317.5 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004867/1.035, allocations: 192.2 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/1.036, allocations: 386.6 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009743/1.037, allocations: 0.7754 MB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006943/1.038, allocations: 475.8 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/1.038, allocations: 275.3 kB / 1.096 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/1.038, allocations: 290.6 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/1.039, allocations: 55.16 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/1.039, allocations: 112.7 kB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/1.039, allocations: 199.9 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003006/1.039, allocations: 337 kB / 1.097 GB, free: 500 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/1.04, allocations: 0.8189 MB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.04, allocations: 0.5 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/1.041, allocations: 0.7812 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.788e-05/1.041, allocations: 0 / 1.097 GB, free: 124 kB / 0.8575 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.00177/1.042, allocations: 1.039 MB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.042, allocations: 9.219 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/1.043, allocations: 87.39 kB / 1.099 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000801/1.043, allocations: 0.4985 MB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/1.043, allocations: 79.52 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/1.044, allocations: 56.31 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.045, allocations: 0.6191 MB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/1.045, allocations: 0.9375 kB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/1.045, allocations: 25.38 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/1.045, allocations: 12.62 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007452/1.046, allocations: 379.7 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/1.049, allocations: 2.653 MB / 1.103 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006775/1.049, allocations: 366.2 kB / 1.103 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/1.05, allocations: 172.4 kB / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/1.05, allocations: 5.875 kB / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005463/1.05, allocations: 291.4 kB / 1.104 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/1.05, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.001133/1.051, allocations: 0.4965 MB / 1.104 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.052, allocations: 220.8 kB / 1.104 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/1.053, allocations: 0.6022 MB / 1.105 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-05/1.053, allocations: 52.39 kB / 1.105 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/1.053, allocations: 347.2 kB / 1.105 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/1.053, allocations: 113.3 kB / 1.105 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/1.054, allocations: 150.2 kB / 1.105 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1.054, allocations: 378.5 kB / 1.106 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/1.054, allocations: 140.1 kB / 1.106 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/1.054, allocations: 344 kB / 1.106 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/1.055, allocations: 427.5 kB / 1.107 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.055, allocations: 1.375 kB / 1.107 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001076/1.056, allocations: 0.5374 MB / 1.107 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.056, allocations: 7.844 kB / 1.107 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.056, allocations: 7.609 kB / 1.107 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/1.056, allocations: 12.75 kB / 1.107 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/1.057, allocations: 75.45 kB / 1.107 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-05/1.057, allocations: 15.09 kB / 1.107 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/1.057, allocations: 55 kB / 1.107 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/1.057, allocations: 31.69 kB / 1.107 GB, free: 9.105 MB / 0.8731 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,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,transition3.t_start,$PRE.transition3.t_start,transition4.t_start,$PRE.transition4.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,warUpCtr.timer.entryTime,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.passed,$PRE.warUpCtr.timer.passed,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.outPort.occupied,transition3.enableFire,transition2.enableFire,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003765/1.057, allocations: 272.6 kB / 1.108 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/1.057, allocations: 63.53 kB / 1.108 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/1.058, allocations: 406.1 kB / 1.108 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/1.058, allocations: 7.344 kB / 1.108 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.058, allocations: 2.922 kB / 1.108 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/1.058, allocations: 139.1 kB / 1.108 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.119e-05/1.059, allocations: 16.27 kB / 1.108 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/1.059, allocations: 17.5 kB / 1.108 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.059, allocations: 44.42 kB / 1.108 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009956/1.06, allocations: 0.8548 MB / 1.109 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001053/1.061, allocations: 0.9574 MB / 1.11 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003352/1.061, allocations: 175.3 kB / 1.11 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005866/1.062, allocations: 399.5 kB / 1.111 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of Backend: time 1.173e-06/1.062, allocations: 0 / 1.111 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002516/1.064, allocations: 0.6837 MB / 1.111 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002371/1.067, allocations: 1.519 MB / 1.113 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.01532/1.082, allocations: 6.014 MB / 1.119 GB, free: 5.137 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches