Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002707/0.002707, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 249.4 MB, free: 3 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.88 kB / 1.059 GB, free: 316 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3912, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004616/0.3958, allocations: 2.21 MB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.3983, allocations: 1.397 MB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3984, allocations: 3.938 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.3991, allocations: 195.1 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.3994, allocations: 131.4 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.3998, allocations: 147.5 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.4001, allocations: 227.1 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.4003, allocations: 28.39 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.4004, allocations: 103.5 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.4006, allocations: 99.53 kB / 1.221 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.4006, allocations: 15.94 kB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.4007, allocations: 51.97 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.4008, allocations: 87.69 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.401, allocations: 138.9 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.4014, allocations: 366.2 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4014, allocations: 0 / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4014, allocations: 0 / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4014, allocations: 0 / 1.221 GB, free: 10.08 MB / 0.9669 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.0009995/0.4024, allocations: 0.6917 MB / 1.222 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4025, allocations: 8.031 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.4025, allocations: 48.66 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.403, allocations: 368.6 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.403, allocations: 8.375 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.4031, allocations: 7.938 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.4032, allocations: 77.59 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.4033, allocations: 0 / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4033, allocations: 0 / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4033, allocations: 4 kB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.4034, allocations: 35.98 kB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/0.404, allocations: 460.5 kB / 1.223 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4042, allocations: 62.66 kB / 1.223 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.4043, allocations: 24.84 kB / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.4043, allocations: 8.109 kB / 1.223 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.4045, allocations: 79.27 kB / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4045, allocations: 0 / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0003473/0.4049, allocations: 141.4 kB / 1.223 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.4049, allocations: 55.34 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005785/0.4055, allocations: 0.5371 MB / 1.224 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.4055, allocations: 29.7 kB / 1.224 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.4057, allocations: 228 kB / 1.224 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.4057, allocations: 11.91 kB / 1.224 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.4058, allocations: 45.69 kB / 1.224 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.406, allocations: 350.8 kB / 1.224 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.4061, allocations: 55.91 kB / 1.224 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.4062, allocations: 74.8 kB / 1.224 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.4064, allocations: 92.77 kB / 1.225 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4064, allocations: 4 kB / 1.225 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003185/0.4067, allocations: 193.3 kB / 1.225 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4067, allocations: 8 kB / 1.225 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.4067, allocations: 0 / 1.225 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4067, allocations: 0 / 1.225 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.4068, allocations: 27.92 kB / 1.225 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.4068, allocations: 0 / 1.225 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.407, allocations: 31.84 kB / 1.225 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.407, allocations: 4 kB / 1.225 GB, free: 6.121 MB / 0.9669 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.0001846/0.4072, allocations: 177.8 kB / 1.225 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.4072, allocations: 43.72 kB / 1.225 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.4075, allocations: 129.4 kB / 1.225 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.4075, allocations: 3.938 kB / 1.225 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4075, allocations: 0 / 1.225 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4075, allocations: 0 / 1.225 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.4078, allocations: 301.5 kB / 1.225 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4078, allocations: 0 / 1.225 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.4078, allocations: 7.938 kB / 1.225 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4078, allocations: 0 / 1.225 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4078, allocations: 3.984 kB / 1.225 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4078, allocations: 7.938 kB / 1.225 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4078, allocations: 0 / 1.225 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.408, allocations: 152.8 kB / 1.226 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.4081, allocations: 120.8 kB / 1.226 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.4082, allocations: 4 kB / 1.226 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.4082, allocations: 11.92 kB / 1.226 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.4083, allocations: 12.11 kB / 1.226 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4083, allocations: 11.94 kB / 1.226 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003811/0.4087, allocations: 362.8 kB / 1.226 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4087, allocations: 0 / 1.226 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002557/0.4089, allocations: 47.92 kB / 1.226 GB, free: 4.648 MB / 0.9669 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 (6): * Single equations (assignments): 4 * 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.001484/0.4104, allocations: 417.8 kB / 1.227 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.4107, allocations: 87.89 kB / 1.227 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4107, allocations: 4 kB / 1.227 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.4108, allocations: 20 kB / 1.227 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.4111, allocations: 70.31 kB / 1.227 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4122, allocations: 0.6589 MB / 1.227 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.4126, allocations: 0.8138 MB / 1.228 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.78e-05/0.4127, allocations: 21.55 kB / 1.228 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.4128, allocations: 31.36 kB / 1.228 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.4128, allocations: 0 / 1.228 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of Templates: time 0.007639/0.4204, allocations: 2.905 MB / 1.231 GB, free: 15.76 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.659724910743535]