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.001367/0.001367, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.001341/0.001341, allocations: 177.9 kB / 23.22 MB, free: 1.34 MB / 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.9401/0.9401, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.806/1.806, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1.|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.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.279e-05, allocations: 6.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002575/0.002598, allocations: 2.158 MB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.004313, allocations: 1.428 MB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.004415, allocations: 3.938 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.004911, allocations: 191.5 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.005212, allocations: 179.1 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.005387, allocations: 115.5 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.005632, allocations: 250.9 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.005762, allocations: 28.58 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.005907, allocations: 131.6 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.006027, allocations: 87.78 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.006049, allocations: 8 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.925e-05/0.006148, allocations: 59.86 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.286e-05/0.006231, allocations: 95.61 kB / 1.006 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.006293, allocations: 67.73 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.006605, allocations: 354.6 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.006608, allocations: 0 / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.21e-07/0.006609, allocations: 0 / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.006614, allocations: 0 / 1.006 GB, free: 7.848 MB / 0.9636 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.000677/0.00729, allocations: 0.6243 MB / 1.007 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.007327, allocations: 12.69 kB / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.007387, allocations: 48.61 kB / 1.007 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.00769, allocations: 294.2 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.007706, allocations: 8.312 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.00772, allocations: 8.375 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.007874, allocations: 99.67 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.007883, allocations: 0 / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.007897, allocations: 11.98 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.007901, allocations: 0 / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.007975, allocations: 43.97 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.008429, allocations: 388.2 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.008553, allocations: 66.67 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.00859, allocations: 20.86 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.008607, allocations: 4 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.008737, allocations: 105 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.008738, allocations: 112 / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002429/0.008981, allocations: 157.3 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.009011, allocations: 55.41 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.009392, allocations: 0.5457 MB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.009408, allocations: 33.64 kB / 1.008 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.009534, allocations: 220 kB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.009552, allocations: 11.91 kB / 1.009 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.009603, allocations: 45.66 kB / 1.009 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.0097, allocations: 362.7 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-05/0.009773, allocations: 47.98 kB / 1.009 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.009859, allocations: 108.2 kB / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.00996, allocations: 93.66 kB / 1.009 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009962, allocations: 0 / 1.009 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001923/0.01015, allocations: 203.8 kB / 1.009 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.01017, allocations: 4 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01017, allocations: 4 kB / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.01019, allocations: 256 / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.01026, allocations: 19.98 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01027, allocations: 8 kB / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.01033, allocations: 19.95 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.01035, allocations: 8 kB / 1.009 GB, free: 4.004 MB / 0.9636 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.0001233/0.01047, allocations: 185.7 kB / 1.01 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.0105, allocations: 47.67 kB / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.01067, allocations: 145.6 kB / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01067, allocations: 0 / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01067, allocations: 0 / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01068, allocations: 0 / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.01084, allocations: 237.1 kB / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01084, allocations: 0 / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-05/0.01086, allocations: 11.94 kB / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01086, allocations: 0 / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.01087, allocations: 7.984 kB / 1.01 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.01087, allocations: 0 / 1.01 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01087, allocations: 0 / 1.01 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.011, allocations: 164.7 kB / 1.01 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.01104, allocations: 43.7 kB / 1.01 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.01106, allocations: 4 kB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.0111, allocations: 7.938 kB / 1.01 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.01114, allocations: 11.97 kB / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01115, allocations: 8 kB / 1.01 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004194/0.01157, allocations: 370.8 kB / 1.011 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.71e-07/0.01157, allocations: 0 / 1.011 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001771/0.01175, allocations: 47.92 kB / 1.011 GB, free: 2.672 MB / 0.9636 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.000727/0.01247, allocations: 453 kB / 1.011 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.01265, allocations: 95.94 kB / 1.011 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01265, allocations: 0 / 1.011 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.0127, allocations: 31.98 kB / 1.011 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01293, allocations: 72.08 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006936/0.01362, allocations: 0.6747 MB / 1.012 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.01375, allocations: 208.4 kB / 1.012 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.0138, allocations: 28.48 kB / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.0138, allocations: 0 / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of Templates: time 0.004517/0.01831, allocations: 4.408 MB / 1.016 GB, free: 12.86 MB / 0.9792 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.10928819514811]