Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001754/0.001754, allocations: 195.7 kB / 16.25 MB, free: 6.637 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.616/1.616, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.819/2.819, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001953, allocations: 67.89 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.7808, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004926/0.7858, allocations: 2.877 MB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003125/0.7889, allocations: 1.685 MB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.7893, allocations: 8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.7903, allocations: 294.5 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.7908, allocations: 159.3 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009143/0.7917, allocations: 327.5 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009155/0.7927, allocations: 0.7301 MB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006772/0.7934, allocations: 485.4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.7937, allocations: 267 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.7941, allocations: 294.6 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.7942, allocations: 56 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.7945, allocations: 108 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.7947, allocations: 211.2 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.7951, allocations: 326 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008898/0.796, allocations: 0.7746 MB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.796, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.796, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.796, allocations: 4 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001654/0.7977, allocations: 1.027 MB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.7977, allocations: 8.031 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.798, allocations: 87.91 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006585/0.7986, allocations: 488.8 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.7987, allocations: 45.69 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.7988, allocations: 71.91 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009921/0.7998, allocations: 0.6169 MB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.7998, allocations: 3.938 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.7999, allocations: 24 kB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.7999, allocations: 12 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006879/0.8006, allocations: 375.6 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.8037, allocations: 2.596 MB / 1.03 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.8045, allocations: 383.9 kB / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.8048, allocations: 177 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.527e-05/0.8048, allocations: 8 kB / 1.031 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005611/0.8054, allocations: 289.5 kB / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 3.186e-06/0.8054, allocations: 4 kB / 1.031 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001102/0.8065, allocations: 0.4992 MB / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.8067, allocations: 225.7 kB / 1.032 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008268/0.8075, allocations: 0.608 MB / 1.032 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.927e-05/0.8076, allocations: 49.69 kB / 1.033 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.808, allocations: 352.5 kB / 1.033 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.8081, allocations: 106.6 kB / 1.033 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.8083, allocations: 150.3 kB / 1.033 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.8086, allocations: 382.8 kB / 1.033 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.8088, allocations: 145.2 kB / 1.034 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.8093, allocations: 335 kB / 1.034 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.8099, allocations: 437 kB / 1.034 GB, free: 80 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.81, allocations: 4 kB / 1.034 GB, free: 76 kB / 0.7794 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009606/0.8109, allocations: 0.5385 MB / 1.035 GB, free: 15.53 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.811, allocations: 8 kB / 1.035 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.811, allocations: 8 kB / 1.035 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.811, allocations: 8 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.8113, allocations: 71.83 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/0.8113, allocations: 19.88 kB / 1.035 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.8116, allocations: 59.42 kB / 1.035 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.8116, allocations: 28 kB / 1.035 GB, free: 15.33 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition2.t_start,$PRE.transition2.t_start,transition1.t_start,$PRE.transition1.t_start,transition4.t_start,$PRE.transition4.t_start,transition3.t_start,$PRE.transition3.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0004183/0.8121, allocations: 287.7 kB / 1.035 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.8122, allocations: 59.25 kB / 1.035 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007638/0.8129, allocations: 407.1 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.813, allocations: 11.92 kB / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.813, allocations: 7.938 kB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.813, allocations: 3.984 kB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.8147, allocations: 1.063 MB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.8147, allocations: 3.938 kB / 1.037 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.8148, allocations: 27.92 kB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.8148, allocations: 7.984 kB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.8149, allocations: 8 kB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.8149, allocations: 4 kB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8149, allocations: 4 kB / 1.037 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.8156, allocations: 0.5329 MB / 1.037 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.8158, allocations: 152.2 kB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.8159, allocations: 12 kB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.816, allocations: 15.98 kB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.8162, allocations: 47.94 kB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.8162, allocations: 27.92 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004692/0.8167, allocations: 402.8 kB / 1.038 GB, free: 12.15 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8167, allocations: 0 / 1.038 GB, free: 12.15 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000526/0.8172, allocations: 135.6 kB / 1.038 GB, free: 12.02 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001694/0.8189, allocations: 460.8 kB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009289/0.8199, allocations: 438.5 kB / 1.039 GB, free: 11.29 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8199, allocations: 0 / 1.039 GB, free: 11.29 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.8203, allocations: 200.4 kB / 1.039 GB, free: 11.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.8209, allocations: 118.9 kB / 1.039 GB, free: 10.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.8233, allocations: 1.354 MB / 1.041 GB, free: 9.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/0.824, allocations: 0.9347 MB / 1.042 GB, free: 8.629 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002894/0.8243, allocations: 80.36 kB / 1.042 GB, free: 8.551 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.8244, allocations: 51.36 kB / 1.042 GB, free: 8.5 MB / 0.795 GB Notification: Performance of SimCode: time 1.082e-06/0.8244, allocations: 0 / 1.042 GB, free: 8.5 MB / 0.795 GB Notification: Performance of Templates: time 0.01453/0.839, allocations: 5.482 MB / 1.047 GB, free: 3.059 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches