Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001517/0.001517, allocations: 106.3 kB / 16.41 MB, free: 6.496 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.001601/0.001601, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.625/1.625, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.107/4.107, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002259/0.00226, allocations: 63.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 157.4 MB / 1.208 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.004359/1.058, allocations: 3.105 MB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003222/1.061, allocations: 1.778 MB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000568/1.062, allocations: 11.94 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/1.063, allocations: 310.5 kB / 1.214 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007788/1.064, allocations: 182.9 kB / 1.214 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/1.065, allocations: 406.1 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001137/1.066, allocations: 0.8158 MB / 1.215 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008929/1.067, allocations: 0.5324 MB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/1.067, allocations: 298.9 kB / 1.216 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/1.068, allocations: 318.5 kB / 1.216 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/1.068, allocations: 64 kB / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/1.068, allocations: 112 kB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/1.068, allocations: 215.2 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002802/1.068, allocations: 353.9 kB / 1.217 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008842/1.069, allocations: 0.901 MB / 1.218 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.069, allocations: 0 / 1.218 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.764e-06/1.069, allocations: 7.875 kB / 1.218 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.077e-06/1.069, allocations: 0 / 1.218 GB, free: 4.344 MB / 0.9356 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.001594/1.071, allocations: 1.113 MB / 1.219 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.071, allocations: 8.031 kB / 1.219 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/1.071, allocations: 91.91 kB / 1.219 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/1.072, allocations: 0.5164 MB / 1.219 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.263e-05/1.072, allocations: 83.31 kB / 1.219 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/1.072, allocations: 64 kB / 1.219 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009635/1.073, allocations: 0.6615 MB / 1.22 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/1.073, allocations: 3.938 kB / 1.22 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/1.073, allocations: 24 kB / 1.22 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/1.073, allocations: 20 kB / 1.22 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/1.074, allocations: 411.6 kB / 1.22 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/1.076, allocations: 2.681 MB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/1.077, allocations: 368 kB / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/1.077, allocations: 169.1 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/1.077, allocations: 7.984 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000446/1.078, allocations: 272.6 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=43): time 5.069e-06/1.078, allocations: 3.984 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43): time 0.001012/1.079, allocations: 479 kB / 1.224 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.079, allocations: 217.7 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/1.08, allocations: 0.6404 MB / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/1.08, allocations: 57.69 kB / 1.225 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/1.08, allocations: 376.4 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/1.08, allocations: 106.6 kB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/1.08, allocations: 162.5 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.081, allocations: 382.7 kB / 1.226 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/1.081, allocations: 157.9 kB / 1.226 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/1.081, allocations: 372.5 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/1.082, allocations: 442.8 kB / 1.227 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.082, allocations: 0 / 1.227 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009919/1.083, allocations: 0.5667 MB / 1.228 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.083, allocations: 8 kB / 1.228 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.083, allocations: 8 kB / 1.228 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/1.083, allocations: 8 kB / 1.228 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/1.083, allocations: 79.78 kB / 1.228 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/1.084, allocations: 19.92 kB / 1.228 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/1.084, allocations: 63.7 kB / 1.228 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/1.084, allocations: 36 kB / 1.228 GB, free: 9.098 MB / 0.9512 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.000321/1.084, allocations: 273.5 kB / 1.228 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.352e-05/1.084, allocations: 67.16 kB / 1.228 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006995/1.085, allocations: 383.9 kB / 1.229 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/1.085, allocations: 7.938 kB / 1.229 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.085, allocations: 4.047 kB / 1.229 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/1.085, allocations: 152.1 kB / 1.229 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/1.085, allocations: 16 kB / 1.229 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/1.085, allocations: 15.92 kB / 1.229 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.086, allocations: 51.94 kB / 1.229 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008236/1.086, allocations: 0.8293 MB / 1.23 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008106/1.087, allocations: 0.9321 MB / 1.231 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002764/1.088, allocations: 168.2 kB / 1.231 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004118/1.088, allocations: 411 kB / 1.231 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of Backend: time 5.31e-07/1.088, allocations: 0 / 1.231 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002141/1.09, allocations: 0.6949 MB / 1.232 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001932/1.092, allocations: 1.569 MB / 1.233 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of Templates: time 0.06736/1.159, allocations: 6.56 MB / 1.24 GB, free: 13.09 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches