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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001115/0.001115, allocations: 87.98 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 183.1 kB / 16.92 MB, free: 6.652 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.947/2.947, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 12 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6752/0.6756, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.00337/0.679, allocations: 2.499 MB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.6818, allocations: 1.658 MB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.6822, allocations: 15.94 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.6833, allocations: 282.3 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005543/0.6838, allocations: 151.3 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.6849, allocations: 327.6 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009775/0.6859, allocations: 0.6988 MB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007108/0.6866, allocations: 425.8 kB / 1.03 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/0.687, allocations: 215.1 kB / 1.03 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.6874, allocations: 246.7 kB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-05/0.6875, allocations: 24 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.6877, allocations: 63.97 kB / 1.03 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.6879, allocations: 175.3 kB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.6882, allocations: 307.7 kB / 1.031 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.6888, allocations: 0.5417 MB / 1.031 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.6888, allocations: 0 / 1.031 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6888, allocations: 0 / 1.031 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.985e-05/0.6889, allocations: 4 kB / 1.031 GB, free: 8.234 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.001459/0.6903, allocations: 0.8869 MB / 1.032 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.6904, allocations: 12.03 kB / 1.032 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.6906, allocations: 84 kB / 1.032 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.6913, allocations: 0.4889 MB / 1.033 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.6913, allocations: 49.44 kB / 1.033 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.503e-05/0.6914, allocations: 59.98 kB / 1.033 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6925, allocations: 0.613 MB / 1.033 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.6925, allocations: 4 kB / 1.033 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.6925, allocations: 20 kB / 1.033 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.6926, allocations: 19.98 kB / 1.033 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006824/0.6932, allocations: 375.6 kB / 1.034 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.696, allocations: 2.6 MB / 1.036 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.6967, allocations: 371.9 kB / 1.037 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.697, allocations: 189 kB / 1.037 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.6971, allocations: 11.98 kB / 1.037 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004518/0.6975, allocations: 289.4 kB / 1.037 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 3.506e-06/0.6975, allocations: 0 / 1.037 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.0009687/0.6985, allocations: 0.4913 MB / 1.037 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.6987, allocations: 234.2 kB / 1.038 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/0.6994, allocations: 0.6042 MB / 1.038 GB, free: 436 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.6994, allocations: 49.69 kB / 1.038 GB, free: 380 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.6997, allocations: 348.6 kB / 1.039 GB, free: 28 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.6999, allocations: 110.8 kB / 1.039 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.7, allocations: 97.66 kB / 1.039 GB, free: 15.81 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.7002, allocations: 382.7 kB / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.7005, allocations: 141.2 kB / 1.039 GB, free: 15.29 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.7009, allocations: 342.9 kB / 1.04 GB, free: 14.87 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.7015, allocations: 440.9 kB / 1.04 GB, free: 14.36 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.7015, allocations: 0 / 1.04 GB, free: 14.36 MB / 0.795 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009312/0.7024, allocations: 0.5385 MB / 1.041 GB, free: 13.81 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.7025, allocations: 10.5 kB / 1.041 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.7025, allocations: 12.06 kB / 1.041 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.7025, allocations: 8 kB / 1.041 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.7028, allocations: 71.78 kB / 1.041 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.7028, allocations: 23.86 kB / 1.041 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.7031, allocations: 59.44 kB / 1.041 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.7031, allocations: 27.98 kB / 1.041 GB, free: 13.61 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.0003537/0.7035, allocations: 278.9 kB / 1.041 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.7036, allocations: 67.23 kB / 1.041 GB, free: 13.26 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/0.7043, allocations: 403.2 kB / 1.042 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.7044, allocations: 8 kB / 1.042 GB, free: 12.85 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.7044, allocations: 3.938 kB / 1.042 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.7044, allocations: 7.984 kB / 1.042 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.7059, allocations: 1.067 MB / 1.043 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.706, allocations: 4 kB / 1.043 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.7061, allocations: 31.92 kB / 1.043 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.7061, allocations: 4 kB / 1.043 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.7061, allocations: 11.98 kB / 1.043 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.7061, allocations: 7.938 kB / 1.043 GB, free: 11.65 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7062, allocations: 0 / 1.043 GB, free: 11.65 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.7069, allocations: 0.5368 MB / 1.043 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.707, allocations: 148.1 kB / 1.043 GB, free: 10.92 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.7071, allocations: 20 kB / 1.043 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.7073, allocations: 15.98 kB / 1.043 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.7074, allocations: 47.94 kB / 1.043 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.7074, allocations: 23.92 kB / 1.043 GB, free: 10.81 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004477/0.7079, allocations: 398.8 kB / 1.044 GB, free: 10.43 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7079, allocations: 0 / 1.044 GB, free: 10.43 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005555/0.7085, allocations: 135.7 kB / 1.044 GB, free: 10.29 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.001065/0.7095, allocations: 463.5 kB / 1.044 GB, free: 9.992 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000731/0.7103, allocations: 406.5 kB / 1.045 GB, free: 9.594 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7103, allocations: 3.938 kB / 1.045 GB, free: 9.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.7106, allocations: 196.5 kB / 1.045 GB, free: 9.398 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/0.7113, allocations: 94.23 kB / 1.045 GB, free: 9.305 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.7133, allocations: 1.426 MB / 1.046 GB, free: 7.824 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.7138, allocations: 0.9302 MB / 1.047 GB, free: 6.871 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.714, allocations: 47.42 kB / 1.047 GB, free: 6.824 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.714, allocations: 7.938 kB / 1.047 GB, free: 6.816 MB / 0.795 GB Notification: Performance of Templates: time 0.0124/0.7264, allocations: 7.763 MB / 1.055 GB, free: 15.11 MB / 0.8106 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=480 -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/jenkins1/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