Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009663/0.0009663, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.0009298/0.0009298, allocations: 161.4 kB / 24.17 MB, free: 328 kB / 18.57 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 0.9641/0.9641, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.919/1.919, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.643e-05, allocations: 5.266 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004658/0.004684, allocations: 2.226 MB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.007859, allocations: 1.519 MB / 0.7637 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.008101, allocations: 0 / 0.7637 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.008834, allocations: 171 kB / 0.7639 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005947/0.009429, allocations: 184.5 kB / 0.764 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.009803, allocations: 123.5 kB / 0.7641 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.01021, allocations: 243 kB / 0.7644 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.01037, allocations: 28.06 kB / 0.7644 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007174/0.01109, allocations: 172 kB / 0.7646 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.01128, allocations: 75.73 kB / 0.7646 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.01131, allocations: 12.5 kB / 0.7647 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.01146, allocations: 55.89 kB / 0.7647 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.01157, allocations: 100.4 kB / 0.7648 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.272e-05/0.01167, allocations: 71.66 kB / 0.7649 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.01212, allocations: 251.6 kB / 0.7651 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01212, allocations: 0 / 0.7651 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.894e-06/0.01212, allocations: 0.7188 kB / 0.7651 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.01213, allocations: 0 / 0.7651 GB, free: 1.469 MB / 0.7136 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.0008553/0.01299, allocations: 0.5852 MB / 0.7657 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.01303, allocations: 12.02 kB / 0.7657 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/0.01311, allocations: 24.91 kB / 0.7657 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.01351, allocations: 283.8 kB / 0.766 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.01353, allocations: 8.312 kB / 0.766 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.01355, allocations: 4.375 kB / 0.766 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.01373, allocations: 99.45 kB / 0.7661 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01374, allocations: 6.375 kB / 0.7661 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.01375, allocations: 4 kB / 0.7661 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.01376, allocations: 0 / 0.7661 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.939e-05/0.01381, allocations: 15.92 kB / 0.7661 GB, free: 384 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.01432, allocations: 225.9 kB / 0.7663 GB, free: 140 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.01446, allocations: 95.66 kB / 0.7664 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.01449, allocations: 20.84 kB / 0.7664 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.01451, allocations: 0 / 0.7664 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.01465, allocations: 87.88 kB / 0.7665 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.01465, allocations: 4 kB / 0.7665 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001806/0.01483, allocations: 82.67 kB / 0.7666 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.01487, allocations: 59.34 kB / 0.7667 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.0153, allocations: 435 kB / 0.7671 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.01532, allocations: 29.7 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.01542, allocations: 153.2 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.01545, allocations: 22.8 kB / 0.7673 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.01552, allocations: 37.8 kB / 0.7673 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.01566, allocations: 366.6 kB / 0.7677 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.0157, allocations: 14.83 kB / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.01577, allocations: 70.11 kB / 0.7677 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.01586, allocations: 47.3 kB / 0.7678 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01586, allocations: 3.031 kB / 0.7678 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001833/0.01605, allocations: 113.7 kB / 0.7679 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.01606, allocations: 8 kB / 0.7679 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01607, allocations: 0 / 0.7679 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01609, allocations: 0 / 0.7679 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.0162, allocations: 27.92 kB / 0.7679 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.0162, allocations: 0 / 0.7679 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.01629, allocations: 9.547 kB / 0.7679 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.01631, allocations: 8 kB / 0.768 GB, free: 14.37 MB / 0.7292 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 0.0001106/0.01642, allocations: 124.6 kB / 0.7681 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.01646, allocations: 27.95 kB / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.01663, allocations: 94.67 kB / 0.7682 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.01663, allocations: 4 kB / 0.7682 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.01663, allocations: 0.6562 kB / 0.7682 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01664, allocations: 0 / 0.7682 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.01682, allocations: 150.4 kB / 0.7683 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01682, allocations: 0 / 0.7683 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.01686, allocations: 8.594 kB / 0.7683 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01686, allocations: 0 / 0.7683 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01687, allocations: 4.625 kB / 0.7684 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01687, allocations: 0.5938 kB / 0.7684 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.01687, allocations: 3.984 kB / 0.7684 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.01702, allocations: 108.2 kB / 0.7685 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.01707, allocations: 47.59 kB / 0.7685 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.01711, allocations: 4 kB / 0.7685 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.01718, allocations: 3.984 kB / 0.7685 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.01722, allocations: 12.95 kB / 0.7685 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.01724, allocations: 4.25 kB / 0.7685 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002186/0.01746, allocations: 181 kB / 0.7687 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01746, allocations: 0 / 0.7687 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002615/0.01772, allocations: 44.55 kB / 0.7687 GB, free: 13.51 MB / 0.7292 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.001805/0.01952, allocations: 0.5198 MB / 0.7693 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.01968, allocations: 51.72 kB / 0.7693 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.01969, allocations: 10.97 kB / 0.7693 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.01974, allocations: 20.84 kB / 0.7693 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.02001, allocations: 55.83 kB / 0.7694 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.02121, allocations: 0.5894 MB / 0.77 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.02131, allocations: 112.5 kB / 0.7701 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.029e-05/0.02139, allocations: 27.34 kB / 0.7701 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.02154, allocations: 95.28 kB / 0.7702 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/0.02155, allocations: 0 / 0.7702 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of Templates: time 0.009226/0.03077, allocations: 3.293 MB / 0.7734 GB, free: 9.125 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.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.103319872170687]