Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.004/2.004, allocations: 390.4 MB / 397.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 193.2 kB / 490.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 221.3 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008724/0.0008725, allocations: 95.8 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.023e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.223, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6563/0.8793, allocations: 158.3 MB / 1.366 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.8797, allocations: 88.64 kB / 1.366 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.03954/0.9192, allocations: 14.05 MB / 1.38 GB, free: 15.73 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.916e-05/0.9193, allocations: 25.66 kB / 1.38 GB, free: 15.72 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001323/0.9207, allocations: 0.8283 MB / 1.381 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.9207, allocations: 8.781 kB / 1.381 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.9209, allocations: 94.97 kB / 1.381 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007309/0.9216, allocations: 448 kB / 1.381 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-05/0.9217, allocations: 53.23 kB / 1.381 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.9218, allocations: 43.23 kB / 1.381 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006358/0.9225, allocations: 316.2 kB / 1.382 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.9233, allocations: 0.532 MB / 1.382 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.9233, allocations: 1.312 kB / 1.382 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.9234, allocations: 11.89 kB / 1.382 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.9234, allocations: 13.28 kB / 1.382 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.9258, allocations: 2.546 MB / 1.385 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.9263, allocations: 327.5 kB / 1.385 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.9265, allocations: 156.4 kB / 1.385 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.9265, allocations: 8.25 kB / 1.385 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/0.9269, allocations: 261 kB / 1.385 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.9269, allocations: 0 / 1.385 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0006119/0.9275, allocations: 317.2 kB / 1.386 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.9276, allocations: 220.5 kB / 1.386 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/0.9283, allocations: 0.5235 MB / 1.387 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.9284, allocations: 44.75 kB / 1.387 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.9285, allocations: 250.9 kB / 1.387 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.9286, allocations: 104.8 kB / 1.387 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.9287, allocations: 0 / 1.387 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9288, allocations: 376.3 kB / 1.387 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.929, allocations: 125.2 kB / 1.387 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.9293, allocations: 314.1 kB / 1.388 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.9296, allocations: 137.9 kB / 1.388 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.9296, allocations: 1.344 kB / 1.388 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0006894/0.9303, allocations: 468.3 kB / 1.388 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.9303, allocations: 12.47 kB / 1.388 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.9303, allocations: 9.281 kB / 1.388 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.9304, allocations: 9.875 kB / 1.388 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.9306, allocations: 77.58 kB / 1.388 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.9307, allocations: 13.16 kB / 1.388 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.931, allocations: 29.86 kB / 1.388 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.931, allocations: 30.5 kB / 1.388 GB, free: 26.33 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.9312, allocations: 158.3 kB / 1.389 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.9313, allocations: 61.84 kB / 1.389 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006318/0.9319, allocations: 349.8 kB / 1.389 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.9319, allocations: 6.5 kB / 1.389 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.9319, allocations: 5.312 kB / 1.389 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.932, allocations: 14.5 kB / 1.389 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.9333, allocations: 0.9438 MB / 1.39 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9334, allocations: 1.75 kB / 1.39 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.9335, allocations: 32.72 kB / 1.39 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.9335, allocations: 8.094 kB / 1.39 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.9335, allocations: 8.188 kB / 1.39 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.9335, allocations: 7.484 kB / 1.39 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9336, allocations: 1.719 kB / 1.39 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006203/0.9342, allocations: 0.5198 MB / 1.39 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.853e-05/0.9343, allocations: 142.9 kB / 1.391 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-05/0.9344, allocations: 9.062 kB / 1.391 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.9346, allocations: 15.8 kB / 1.391 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.9347, allocations: 46.42 kB / 1.391 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.9348, allocations: 21.33 kB / 1.391 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004205/0.9352, allocations: 378.2 kB / 1.391 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005723/0.9358, allocations: 110.5 kB / 1.391 GB, free: 24.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 41 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007946/0.9366, allocations: 372.6 kB / 1.392 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000613/0.9372, allocations: 371 kB / 1.392 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.9372, allocations: 1.125 kB / 1.392 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.9375, allocations: 187.9 kB / 1.392 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.938, allocations: 86.42 kB / 1.392 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.9395, allocations: 0.8127 MB / 1.393 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006151/0.9401, allocations: 0.9987 MB / 1.394 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/0.9401, allocations: 0 / 1.394 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.01226/0.9524, allocations: 5.678 MB / 1.399 GB, free: 20.68 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches