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.001312/0.001312, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001435/0.001435, allocations: 192.2 kB / 22.17 MB, free: 5.652 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.502/1.502, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.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.672/2.672, allocations: 443.5 MB / 0.732 GB, free: 12.55 MB / 0.5919 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.002281/0.002281, allocations: 63.89 kB / 1.061 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.008, allocations: 160.7 MB / 1.218 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004594/1.012, allocations: 2.22 MB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002869/1.015, allocations: 1.401 MB / 1.222 GB, free: 1.285 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/1.015, allocations: 2.219 kB / 1.222 GB, free: 1.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007928/1.016, allocations: 187.5 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004117/1.017, allocations: 136.2 kB / 1.222 GB, free: 1.074 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/1.017, allocations: 143.9 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003691/1.017, allocations: 228.8 kB / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/1.018, allocations: 31.39 kB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/1.018, allocations: 106.6 kB / 1.223 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/1.018, allocations: 95.55 kB / 1.223 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/1.018, allocations: 10.62 kB / 1.223 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/1.018, allocations: 57.28 kB / 1.223 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/1.018, allocations: 95.52 kB / 1.223 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/1.018, allocations: 135.6 kB / 1.223 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005479/1.019, allocations: 354.2 kB / 1.223 GB, free: 276 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.019, allocations: 3.938 kB / 1.223 GB, free: 272 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/1.019, allocations: 0 / 1.223 GB, free: 272 kB / 0.92 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.019, allocations: 0 / 1.223 GB, free: 272 kB / 0.92 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.001248/1.02, allocations: 0.6903 MB / 1.224 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.02, allocations: 9.969 kB / 1.224 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/1.02, allocations: 48.81 kB / 1.224 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/1.021, allocations: 366.6 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/1.021, allocations: 3.469 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/1.021, allocations: 8.094 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/1.021, allocations: 79 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.021, allocations: 0 / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/1.021, allocations: 1.062 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/1.021, allocations: 1.188 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/1.022, allocations: 38.41 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/1.022, allocations: 465.1 kB / 1.225 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/1.023, allocations: 64.95 kB / 1.225 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/1.023, allocations: 22 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/1.023, allocations: 5.125 kB / 1.225 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/1.023, allocations: 76.81 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/1.023, allocations: 0.9062 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003939/1.023, allocations: 141.5 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/1.023, allocations: 56.44 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007295/1.024, allocations: 0.5355 MB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/1.024, allocations: 31.92 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/1.024, allocations: 219.3 kB / 1.226 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/1.024, allocations: 23.86 kB / 1.226 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/1.024, allocations: 40.86 kB / 1.226 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002524/1.025, allocations: 355.5 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/1.025, allocations: 47.12 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/1.025, allocations: 74.98 kB / 1.227 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/1.025, allocations: 91.53 kB / 1.227 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.025, allocations: 1.281 kB / 1.227 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003475/1.026, allocations: 196.8 kB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.026, allocations: 5.656 kB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.026, allocations: 0 / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.026, allocations: 1.594 kB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/1.026, allocations: 30.45 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.026, allocations: 5.281 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/1.026, allocations: 18.91 kB / 1.227 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.026, allocations: 4.469 kB / 1.227 GB, free: 13.27 MB / 0.9356 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.0002156/1.026, allocations: 184.6 kB / 1.227 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/1.026, allocations: 43.03 kB / 1.227 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/1.026, allocations: 131.5 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.026, allocations: 5.062 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/1.026, allocations: 1.094 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.026, allocations: 3.984 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/1.027, allocations: 293.2 kB / 1.228 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.027, allocations: 0 / 1.228 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/1.027, allocations: 16.22 kB / 1.228 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.027, allocations: 3.938 kB / 1.228 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/1.027, allocations: 5.25 kB / 1.228 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/1.027, allocations: 3.938 kB / 1.228 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.027, allocations: 1.312 kB / 1.228 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/1.027, allocations: 148.1 kB / 1.228 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/1.027, allocations: 125 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/1.027, allocations: 1.438 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/1.027, allocations: 7.938 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/1.027, allocations: 13.33 kB / 1.228 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/1.027, allocations: 6.859 kB / 1.228 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004451/1.028, allocations: 362.6 kB / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.028, allocations: 0 / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002866/1.028, allocations: 42.84 kB / 1.228 GB, free: 12.23 MB / 0.9356 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.001695/1.03, allocations: 429.7 kB / 1.229 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000295/1.03, allocations: 87.23 kB / 1.229 GB, free: 12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.03, allocations: 4 kB / 1.229 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/1.03, allocations: 26.2 kB / 1.229 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/1.031, allocations: 56.89 kB / 1.229 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/1.032, allocations: 0.66 MB / 1.229 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/1.033, allocations: 0.8211 MB / 1.23 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001035/1.033, allocations: 28.88 kB / 1.23 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/1.033, allocations: 17.94 kB / 1.23 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/1.033, allocations: 0 / 1.23 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.008504/1.041, allocations: 2.92 MB / 1.233 GB, free: 8.121 MB / 0.9356 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.965489788912237]