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.001743/0.001743, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001868/0.001868, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.558/1.558, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 3.025/3.025, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.194e-06/2.194e-06, allocations: 0 / 1 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.537e-05/3.756e-05, allocations: 2.281 kB / 1 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003998/0.004035, allocations: 2.172 MB / 1.002 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002666/0.006701, allocations: 1.424 MB / 1.004 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.006809, allocations: 7.938 kB / 1.004 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.007366, allocations: 187.4 kB / 1.004 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.007788, allocations: 175.1 kB / 1.004 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.008053, allocations: 123.5 kB / 1.004 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.0084, allocations: 243 kB / 1.004 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.008527, allocations: 32.56 kB / 1.004 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.008723, allocations: 131.6 kB / 1.004 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.008886, allocations: 75.8 kB / 1.005 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.008927, allocations: 12 kB / 1.005 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.009067, allocations: 59.84 kB / 1.005 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.009195, allocations: 95.67 kB / 1.005 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.00932, allocations: 63.67 kB / 1.005 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.009806, allocations: 358.7 kB / 1.005 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.009811, allocations: 3.984 kB / 1.005 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.021e-06/0.009812, allocations: 0 / 1.005 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.009823, allocations: 0 / 1.005 GB, free: 1.059 MB / 0.9044 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.001048/0.01087, allocations: 0.6125 MB / 1.006 GB, free: 424 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.0109, allocations: 8.031 kB / 1.006 GB, free: 416 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.01099, allocations: 56.55 kB / 1.006 GB, free: 360 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.01147, allocations: 298.1 kB / 1.006 GB, free: 32 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.01149, allocations: 4.375 kB / 1.006 GB, free: 28 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.01151, allocations: 8.375 kB / 1.006 GB, free: 20 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.01175, allocations: 111.7 kB / 1.006 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.01176, allocations: 0 / 1.006 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.01178, allocations: 0 / 1.006 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.01178, allocations: 0 / 1.006 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.01189, allocations: 39.92 kB / 1.006 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.01261, allocations: 400.2 kB / 1.007 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.01282, allocations: 62.67 kB / 1.007 GB, free: 15.37 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.0129, allocations: 28.84 kB / 1.007 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.01291, allocations: 0 / 1.007 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.01312, allocations: 109 kB / 1.007 GB, free: 15.21 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.01312, allocations: 0 / 1.007 GB, free: 15.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004168/0.01353, allocations: 149.5 kB / 1.007 GB, free: 15.06 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.01358, allocations: 55.34 kB / 1.007 GB, free: 14.99 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.01424, allocations: 0.5457 MB / 1.008 GB, free: 14.44 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.01428, allocations: 33.7 kB / 1.008 GB, free: 14.4 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.01449, allocations: 216 kB / 1.008 GB, free: 14.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.01452, allocations: 19.89 kB / 1.008 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.0146, allocations: 41.7 kB / 1.008 GB, free: 14.12 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.0148, allocations: 366.7 kB / 1.008 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.01492, allocations: 47.98 kB / 1.008 GB, free: 13.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.01508, allocations: 104.2 kB / 1.008 GB, free: 13.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.01527, allocations: 92.5 kB / 1.008 GB, free: 13.49 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01527, allocations: 0 / 1.008 GB, free: 13.49 MB / 0.92 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003447/0.01562, allocations: 209.2 kB / 1.009 GB, free: 13.28 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01563, allocations: 4 kB / 1.009 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01564, allocations: 4.062 kB / 1.009 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01565, allocations: 0 / 1.009 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.01577, allocations: 23.98 kB / 1.009 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01578, allocations: 0 / 1.009 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.01589, allocations: 8 kB / 1.009 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.01592, allocations: 11.98 kB / 1.009 GB, free: 13.23 MB / 0.92 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.0002051/0.01612, allocations: 190.8 kB / 1.009 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.01618, allocations: 43.67 kB / 1.009 GB, free: 12.99 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.01648, allocations: 145.6 kB / 1.009 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01649, allocations: 4 kB / 1.009 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01649, allocations: 4 kB / 1.009 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.0165, allocations: 3.984 kB / 1.009 GB, free: 12.83 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.01682, allocations: 233.1 kB / 1.009 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01682, allocations: 0 / 1.009 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.01685, allocations: 7.938 kB / 1.009 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01685, allocations: 0 / 1.009 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.01687, allocations: 4.25 kB / 1.009 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01687, allocations: 4 kB / 1.009 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.01687, allocations: 4 kB / 1.009 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.01715, allocations: 160.8 kB / 1.009 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.01722, allocations: 43.67 kB / 1.009 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.01726, allocations: 7.938 kB / 1.009 GB, free: 12.33 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.01735, allocations: 11.98 kB / 1.009 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.0174, allocations: 11.92 kB / 1.01 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01741, allocations: 3.984 kB / 1.01 GB, free: 12.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004279/0.01784, allocations: 370.8 kB / 1.01 GB, free: 11.94 MB / 0.92 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01784, allocations: 0 / 1.01 GB, free: 11.94 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002729/0.01811, allocations: 43.94 kB / 1.01 GB, free: 11.9 MB / 0.92 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.001759/0.01987, allocations: 445.8 kB / 1.01 GB, free: 11.64 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.02015, allocations: 91.91 kB / 1.01 GB, free: 11.55 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02015, allocations: 3.938 kB / 1.01 GB, free: 11.55 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.209e-05/0.02024, allocations: 27.98 kB / 1.01 GB, free: 11.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.02066, allocations: 84.8 kB / 1.011 GB, free: 11.45 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.02177, allocations: 0.6378 MB / 1.011 GB, free: 10.78 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.022, allocations: 213.4 kB / 1.011 GB, free: 10.55 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.152e-05/0.02208, allocations: 29.61 kB / 1.011 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.02215, allocations: 28.48 kB / 1.011 GB, free: 10.49 MB / 0.92 GB Notification: Performance of SimCode: time 4.41e-07/0.02215, allocations: 0 / 1.011 GB, free: 10.49 MB / 0.92 GB Notification: Performance of Templates: time 0.008573/0.03072, allocations: 3.019 MB / 1.014 GB, free: 7.516 MB / 0.92 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: 8.960310500115156]