Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008848/0.0008848, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.002125, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007759/0.0007759, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.001903, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.145, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.335/2.335, allocations: 446.7 MB / 0.6745 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2586/2.593, allocations: 145.9 MB / 0.817 GB, free: 4.176 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.583e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.008228/0.008254, allocations: 2.287 MB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005934/0.01419, allocations: 1.52 MB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.01445, allocations: 7.938 kB / 0.822 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006801/0.01513, allocations: 179.6 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.003531/0.01866, allocations: 175 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.01893, allocations: 119.6 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.0192, allocations: 235 kB / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.01932, allocations: 34.47 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005755/0.0199, allocations: 233.2 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.02002, allocations: 71.8 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.02005, allocations: 16 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.02018, allocations: 55.84 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.02026, allocations: 83.72 kB / 0.8232 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.02033, allocations: 55.75 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.02065, allocations: 234.9 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.02067, allocations: 0 / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.284e-06/0.02067, allocations: 3.984 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.02069, allocations: 4 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000697/0.02138, allocations: 0.6536 MB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.02141, allocations: 8.625 kB / 0.8241 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.02147, allocations: 28.91 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/0.02484, allocations: 274 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.02486, allocations: 8.375 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.02487, allocations: 4.375 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.02503, allocations: 103.3 kB / 0.8245 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.02504, allocations: 3.938 kB / 0.8245 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.02505, allocations: 8 kB / 0.8245 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.02506, allocations: 0 / 0.8245 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.59e-05/0.02509, allocations: 11.98 kB / 0.8245 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.02548, allocations: 229.9 kB / 0.8248 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.02559, allocations: 93.16 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.02562, allocations: 20.84 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.02563, allocations: 0 / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.02574, allocations: 83.92 kB / 0.825 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.02574, allocations: 4 kB / 0.825 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001481/0.02589, allocations: 81.58 kB / 0.825 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.02592, allocations: 55.41 kB / 0.8251 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.02624, allocations: 442 kB / 0.8255 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.02626, allocations: 33.7 kB / 0.8255 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.02634, allocations: 149.2 kB / 0.8257 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.02636, allocations: 15.89 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.02643, allocations: 45.69 kB / 0.8257 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.02654, allocations: 358.7 kB / 0.8261 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.02657, allocations: 18.81 kB / 0.8261 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.02662, allocations: 69.97 kB / 0.8262 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.02669, allocations: 62.11 kB / 0.8262 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.02669, allocations: 0 / 0.8262 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001293/0.02682, allocations: 100.8 kB / 0.8263 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.02684, allocations: 8.109 kB / 0.8263 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.02684, allocations: 3.938 kB / 0.8263 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.02685, allocations: 7.938 kB / 0.8263 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.02695, allocations: 27.98 kB / 0.8264 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.02695, allocations: 4 kB / 0.8264 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.02702, allocations: 11.94 kB / 0.8264 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.02704, allocations: 8 kB / 0.8264 GB, free: 10.36 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 8.936e-05/0.02712, allocations: 128.5 kB / 0.8265 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.02715, allocations: 32 kB / 0.8265 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.02727, allocations: 89.64 kB / 0.8266 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.02728, allocations: 7.984 kB / 0.8266 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.02728, allocations: 0 / 0.8266 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.02728, allocations: 0 / 0.8266 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.03045, allocations: 141.8 kB / 0.8268 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.03045, allocations: 0 / 0.8268 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.03049, allocations: 7.938 kB / 0.8268 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.03053, allocations: 43.7 kB / 0.8268 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.03053, allocations: 0 / 0.8268 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.03054, allocations: 8 kB / 0.8268 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.03054, allocations: 0 / 0.8268 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.03054, allocations: 0 / 0.8268 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.03066, allocations: 114.7 kB / 0.8269 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.03069, allocations: 8 kB / 0.827 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.03074, allocations: 4 kB / 0.827 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.03077, allocations: 7.984 kB / 0.827 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.03078, allocations: 7.984 kB / 0.827 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001507/0.03093, allocations: 176.4 kB / 0.8271 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.03093, allocations: 0 / 0.8271 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000196/0.03113, allocations: 47.89 kB / 0.8272 GB, free: 9.5 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001391/0.03252, allocations: 0.562 MB / 0.8277 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.03264, allocations: 59.3 kB / 0.8278 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.03266, allocations: 8 kB / 0.8278 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.729e-05/0.03269, allocations: 24.78 kB / 0.8278 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.03293, allocations: 80.45 kB / 0.8279 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004953/0.03788, allocations: 0.5862 MB / 0.8285 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.097e-05/0.03796, allocations: 119.8 kB / 0.8286 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.544e-05/0.03803, allocations: 21.78 kB / 0.8286 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.03814, allocations: 95.28 kB / 0.8287 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/0.03814, allocations: 0 / 0.8287 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of Templates: time 0.0137/0.05184, allocations: 3.367 MB / 0.832 GB, free: 4.863 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.481656035408378]