Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001835/0.001835, 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.002504/0.002504, allocations: 194.6 kB / 22.17 MB, free: 5.656 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.583/1.583, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.991/2.991, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 59.91 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9834/0.9854, allocations: 168.7 MB / 1.274 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004234/0.9896, allocations: 2.212 MB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.9922, allocations: 1.397 MB / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.9924, allocations: 4 kB / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006868/0.9931, allocations: 195.2 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.9934, allocations: 135.3 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.9939, allocations: 143.6 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.9942, allocations: 231.1 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.9943, allocations: 24.39 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.9945, allocations: 103.5 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.9947, allocations: 99.62 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.9948, allocations: 12 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.9949, allocations: 51.97 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.995, allocations: 103.5 kB / 1.279 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.9952, allocations: 131 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004953/0.9957, allocations: 357.1 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9957, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9957, allocations: 3.938 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.9957, allocations: 4 kB / 1.279 GB, free: 15.32 MB / 0.9825 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.001224/0.9969, allocations: 0.6917 MB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.9969, allocations: 12.03 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.09e-05/0.997, allocations: 44.66 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.9976, allocations: 356.8 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.9976, allocations: 8.375 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.9976, allocations: 7.938 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.9978, allocations: 77.59 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.9979, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.9979, allocations: 4 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.9979, allocations: 3.938 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.998, allocations: 35.98 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007925/0.9988, allocations: 468.5 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.999, allocations: 66.59 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.9991, allocations: 28.84 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.9991, allocations: 0 / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.9993, allocations: 79.39 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.9993, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003823/0.9997, allocations: 145.3 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.9997, allocations: 55.34 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/1, allocations: 0.5333 MB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/1, allocations: 29.7 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/1.001, allocations: 224 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/1.001, allocations: 19.84 kB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/1.001, allocations: 41.69 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001932/1.001, allocations: 354.8 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/1.001, allocations: 47.97 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/1.001, allocations: 74.47 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/1.001, allocations: 100 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.001, allocations: 0 / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003316/1.002, allocations: 201.2 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.002, allocations: 6.344 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.002, allocations: 0 / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/1.002, allocations: 0 / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/1.002, allocations: 27.92 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.002, allocations: 0 / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/1.002, allocations: 12 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/1.002, allocations: 12.02 kB / 1.283 GB, free: 11.37 MB / 0.9825 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.0001974/1.002, allocations: 183.3 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/1.002, allocations: 43.72 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/1.002, allocations: 125.5 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.002, allocations: 3.938 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.002, allocations: 0 / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.002, allocations: 112 / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/1.003, allocations: 305.4 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.003, allocations: 4 kB / 1.283 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/1.003, allocations: 4 kB / 1.283 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.003, allocations: 0 / 1.283 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.003, allocations: 8.297 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.003, allocations: 7.875 kB / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.003, allocations: 4 kB / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/1.003, allocations: 152.8 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/1.003, allocations: 116.8 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/1.003, allocations: 8 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/1.003, allocations: 11.92 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/1.003, allocations: 11.98 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/1.003, allocations: 4 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004358/1.004, allocations: 362.8 kB / 1.284 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/1.004, allocations: 0 / 1.284 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002766/1.004, allocations: 47.92 kB / 1.284 GB, free: 9.895 MB / 0.9825 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.001599/1.006, allocations: 427.6 kB / 1.284 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000272/1.006, allocations: 91.84 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/1.006, allocations: 0 / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/1.006, allocations: 27.92 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/1.007, allocations: 58.75 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/1.008, allocations: 0.6628 MB / 1.285 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/1.008, allocations: 0.8138 MB / 1.286 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.654e-05/1.008, allocations: 25.53 kB / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/1.008, allocations: 27.42 kB / 1.286 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/1.008, allocations: 0 / 1.286 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of Templates: time 0.007985/1.016, allocations: 2.91 MB / 1.289 GB, free: 5 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.452368882950395]