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.001431/0.001431, allocations: 114.5 kB / 17.08 MB, free: 6.012 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.001512/0.001512, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.468/1.468, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.678/2.678, allocations: 437.1 MB / 0.7177 GB, free: 4.488 MB / 0.5606 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.001992/0.001992, allocations: 67.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3043, allocations: 151.6 MB / 1.176 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003878/0.3082, allocations: 2.19 MB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.3105, allocations: 1.374 MB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.3107, allocations: 4 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006389/0.3114, allocations: 183.1 kB / 1.18 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.3117, allocations: 131.3 kB / 1.18 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.3122, allocations: 147.2 kB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.3125, allocations: 231.1 kB / 1.18 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3127, allocations: 44.38 kB / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3128, allocations: 95.5 kB / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.313, allocations: 91.55 kB / 1.18 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.313, allocations: 12 kB / 1.18 GB, free: 1.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3132, allocations: 51.98 kB / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.3133, allocations: 95.59 kB / 1.18 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.3135, allocations: 134.9 kB / 1.18 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.314, allocations: 362.2 kB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.314, allocations: 4 kB / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.314, allocations: 0 / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3141, allocations: 0 / 1.181 GB, free: 0.7109 MB / 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.001104/0.3152, allocations: 0.6918 MB / 1.182 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3152, allocations: 11.97 kB / 1.182 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.47e-05/0.3153, allocations: 48.66 kB / 1.182 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.3158, allocations: 356.7 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3158, allocations: 4.375 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.3159, allocations: 7.938 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.3161, allocations: 81.59 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3161, allocations: 0 / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3161, allocations: 0 / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3161, allocations: 0 / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3163, allocations: 43.91 kB / 1.182 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.317, allocations: 464.5 kB / 1.182 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3172, allocations: 70.61 kB / 1.183 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.3173, allocations: 24.86 kB / 1.183 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3173, allocations: 0 / 1.183 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.3175, allocations: 79.31 kB / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3175, allocations: 4 kB / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003781/0.3179, allocations: 145.3 kB / 1.183 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.318, allocations: 59.45 kB / 1.183 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.3186, allocations: 0.5332 MB / 1.183 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3187, allocations: 29.7 kB / 1.183 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.3189, allocations: 220 kB / 1.184 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.3189, allocations: 11.91 kB / 1.184 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.319, allocations: 45.7 kB / 1.184 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.3192, allocations: 358.8 kB / 1.184 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3193, allocations: 47.98 kB / 1.184 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.3195, allocations: 74.55 kB / 1.184 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3196, allocations: 88.08 kB / 1.184 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3196, allocations: 0 / 1.184 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003534/0.32, allocations: 201.4 kB / 1.184 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.32, allocations: 4 kB / 1.184 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.32, allocations: 0 / 1.184 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3201, allocations: 4 kB / 1.184 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.3202, allocations: 27.86 kB / 1.184 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3202, allocations: 4 kB / 1.184 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3204, allocations: 15.88 kB / 1.184 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.3204, allocations: 8 kB / 1.184 GB, free: 12.76 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.0002142/0.3206, allocations: 185.8 kB / 1.185 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.3207, allocations: 43.7 kB / 1.185 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.818e-05/0.3208, allocations: 43.81 kB / 1.185 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3208, allocations: 7.938 kB / 1.185 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3208, allocations: 0 / 1.185 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3208, allocations: 7.922 kB / 1.185 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.3211, allocations: 297.5 kB / 1.185 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3211, allocations: 0 / 1.185 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.3212, allocations: 3.984 kB / 1.185 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3212, allocations: 4 kB / 1.185 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3212, allocations: 4 kB / 1.185 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3212, allocations: 3.938 kB / 1.185 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3212, allocations: 0 / 1.185 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3215, allocations: 152.8 kB / 1.185 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3216, allocations: 112.8 kB / 1.185 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.3216, allocations: 7.984 kB / 1.185 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.3217, allocations: 11.94 kB / 1.185 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.3218, allocations: 11.98 kB / 1.185 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.3218, allocations: 3.938 kB / 1.185 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004335/0.3222, allocations: 366.8 kB / 1.186 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3223, allocations: 11.88 kB / 1.186 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002564/0.3225, allocations: 39.94 kB / 1.186 GB, free: 11.37 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 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * 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.001534/0.3241, allocations: 417.2 kB / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.3244, allocations: 102.7 kB / 1.186 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3244, allocations: 0 / 1.186 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/0.3245, allocations: 27.98 kB / 1.186 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.3249, allocations: 55.94 kB / 1.186 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.326, allocations: 0.6918 MB / 1.187 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.3265, allocations: 0.8145 MB / 1.188 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.3266, allocations: 27.42 kB / 1.188 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of SimCode: time 6.62e-07/0.3266, allocations: 0 / 1.188 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of Templates: time 0.007593/0.3342, allocations: 4.144 MB / 1.192 GB, free: 5.25 MB / 0.9356 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/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: 10.903054921072908]