Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.001528/0.001527, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.517/1.517, 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.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.004554/1.03, allocations: 3.109 MB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003093/1.033, allocations: 1.778 MB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/1.034, allocations: 12.47 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/1.035, allocations: 307.1 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005446/1.036, allocations: 198.2 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/1.037, allocations: 403 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00121/1.038, allocations: 0.8173 MB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008767/1.039, allocations: 0.5388 MB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/1.039, allocations: 299.8 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/1.04, allocations: 315.3 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/1.04, allocations: 62.66 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/1.04, allocations: 121.3 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/1.04, allocations: 209.6 kB / 1.097 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003488/1.041, allocations: 360.9 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/1.042, allocations: 0.897 MB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.042, allocations: 0 / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.954e-06/1.042, allocations: 5.125 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.758e-05/1.042, allocations: 0 / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002036/1.044, allocations: 1.097 MB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.044, allocations: 9.469 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/1.044, allocations: 95 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008752/1.045, allocations: 0.5214 MB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/1.045, allocations: 91.48 kB / 1.1 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.046, allocations: 68.25 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/1.047, allocations: 0.653 MB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/1.047, allocations: 8.812 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/1.047, allocations: 27.8 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/1.047, allocations: 14.72 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/1.048, allocations: 410.5 kB / 1.101 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/1.051, allocations: 2.686 MB / 1.103 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000774/1.052, allocations: 366.5 kB / 1.104 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/1.053, allocations: 170.8 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/1.053, allocations: 5.297 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/1.053, allocations: 269.4 kB / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/1.053, allocations: 0 / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.001354/1.055, allocations: 477.6 kB / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/1.055, allocations: 226.1 kB / 1.105 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009739/1.056, allocations: 0.6379 MB / 1.105 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/1.056, allocations: 54.14 kB / 1.105 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/1.056, allocations: 372.5 kB / 1.106 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/1.056, allocations: 109.8 kB / 1.106 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/1.057, allocations: 166.8 kB / 1.106 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003544/1.057, allocations: 384 kB / 1.106 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/1.057, allocations: 151.9 kB / 1.107 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/1.058, allocations: 367.1 kB / 1.107 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/1.059, allocations: 443.1 kB / 1.107 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.059, allocations: 2.531 kB / 1.107 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001104/1.06, allocations: 0.5634 MB / 1.108 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.06, allocations: 8.25 kB / 1.108 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.06, allocations: 6.938 kB / 1.108 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/1.06, allocations: 9.562 kB / 1.108 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/1.06, allocations: 75.98 kB / 1.108 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/1.06, allocations: 17.97 kB / 1.108 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/1.06, allocations: 74.75 kB / 1.108 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/1.06, allocations: 32.73 kB / 1.108 GB, free: 8.746 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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,$PRE.warUpCtr.pre.u,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,transition2.localCondition,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,warUpCtr.pre.u,warUpCtr.hysPow.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysTem.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003631/1.061, allocations: 281.2 kB / 1.108 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/1.061, allocations: 63.47 kB / 1.108 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007859/1.062, allocations: 384.1 kB / 1.109 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.062, allocations: 4.156 kB / 1.109 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.062, allocations: 1.969 kB / 1.109 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.062, allocations: 141.3 kB / 1.109 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/1.062, allocations: 16.5 kB / 1.109 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/1.062, allocations: 17.72 kB / 1.109 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.062, allocations: 56.62 kB / 1.109 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009438/1.063, allocations: 0.8315 MB / 1.11 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001045/1.064, allocations: 0.9304 MB / 1.111 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003072/1.065, allocations: 165.3 kB / 1.111 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005222/1.065, allocations: 423.5 kB / 1.111 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of Backend: time 6.01e-07/1.065, allocations: 1.438 kB / 1.111 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002285/1.068, allocations: 0.6966 MB / 1.112 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00209/1.07, allocations: 1.561 MB / 1.114 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of Templates: time 0.01407/1.084, allocations: 6.395 MB / 1.12 GB, free: 4.738 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches