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.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.002591/0.002591, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.003086/0.003086, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.648/1.648, allocations: 177.1 MB / 203.9 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.047/3.047, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 2.645e-06/2.645e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.76e-05/4.025e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.006478/0.006518, allocations: 2.199 MB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004281/0.0108, allocations: 1.479 MB / 0.79 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.01106, allocations: 7.938 kB / 0.79 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009854/0.01205, allocations: 180.7 kB / 0.7902 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008047/0.01285, allocations: 172.2 kB / 0.7903 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.01337, allocations: 119.5 kB / 0.7905 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005375/0.01391, allocations: 248.5 kB / 0.7907 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.01408, allocations: 32.56 kB / 0.7907 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.01439, allocations: 131.6 kB / 0.7908 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.01461, allocations: 82.42 kB / 0.7909 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.01467, allocations: 12 kB / 0.7909 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.01488, allocations: 55.91 kB / 0.791 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.01507, allocations: 99.61 kB / 0.7911 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.01522, allocations: 67.67 kB / 0.7911 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007416/0.01596, allocations: 358.6 kB / 0.7915 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01596, allocations: 0 / 0.7915 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.01597, allocations: 3.938 kB / 0.7915 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.01597, allocations: 0.5312 kB / 0.7915 GB, free: 7.598 MB / 0.7448 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.001851/0.01783, allocations: 0.7363 MB / 0.7922 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.158e-05/0.0179, allocations: 12.56 kB / 0.7922 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.0181, allocations: 56.59 kB / 0.7923 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007583/0.01886, allocations: 294.4 kB / 0.7926 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.01889, allocations: 8.375 kB / 0.7926 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.01892, allocations: 8.359 kB / 0.7926 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.01926, allocations: 108.1 kB / 0.7927 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.01928, allocations: 1.375 kB / 0.7927 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.0193, allocations: 0 / 0.7927 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.0193, allocations: 0 / 0.7927 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.01945, allocations: 27.98 kB / 0.7927 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.02064, allocations: 0.4889 MB / 0.7932 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.02093, allocations: 71.16 kB / 0.7933 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.901e-05/0.02102, allocations: 21.06 kB / 0.7933 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.02105, allocations: 4 kB / 0.7933 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.02131, allocations: 110.7 kB / 0.7934 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.02131, allocations: 1.75 kB / 0.7934 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0005001/0.02181, allocations: 141.4 kB / 0.7935 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.02188, allocations: 51.41 kB / 0.7936 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.02296, allocations: 0.5964 MB / 0.7941 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.02299, allocations: 26.27 kB / 0.7942 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.02339, allocations: 302.7 kB / 0.7945 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.02343, allocations: 21.77 kB / 0.7945 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.02357, allocations: 59.3 kB / 0.7945 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004841/0.02406, allocations: 0.5625 MB / 0.7951 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.0242, allocations: 35.98 kB / 0.7951 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.02444, allocations: 102.8 kB / 0.7952 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.0247, allocations: 76.25 kB / 0.7953 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.0247, allocations: 3.578 kB / 0.7953 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004822/0.02518, allocations: 195.7 kB / 0.7955 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.0252, allocations: 4 kB / 0.7955 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.02521, allocations: 0 / 0.7955 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.02523, allocations: 4 kB / 0.7955 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.0254, allocations: 23.92 kB / 0.7955 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.02541, allocations: 0 / 0.7955 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.02557, allocations: 8 kB / 0.7955 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.0256, allocations: 12.61 kB / 0.7955 GB, free: 3.227 MB / 0.7448 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.0002349/0.02584, allocations: 174.5 kB / 0.7957 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/0.02594, allocations: 53.52 kB / 0.7958 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.02632, allocations: 129.5 kB / 0.7959 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.02633, allocations: 4 kB / 0.7959 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.02633, allocations: 0 / 0.7959 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.02634, allocations: 0 / 0.7959 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.02687, allocations: 310.4 kB / 0.7962 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.02687, allocations: 0 / 0.7962 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.02691, allocations: 7.984 kB / 0.7962 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.02692, allocations: 4 kB / 0.7962 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.02694, allocations: 4 kB / 0.7962 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02694, allocations: 0 / 0.7962 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02694, allocations: 0.7031 kB / 0.7962 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.02733, allocations: 172.9 kB / 0.7964 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.02744, allocations: 39.67 kB / 0.7964 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.0275, allocations: 8.234 kB / 0.7964 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.02764, allocations: 12.81 kB / 0.7964 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.02771, allocations: 11.97 kB / 0.7964 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.02773, allocations: 9.328 kB / 0.7964 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006419/0.02837, allocations: 362.8 kB / 0.7968 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.02837, allocations: 0 / 0.7968 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004902/0.02886, allocations: 43.94 kB / 0.7968 GB, free: 1.832 MB / 0.7448 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.003984/0.03285, allocations: 443.8 kB / 0.7972 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003681/0.03321, allocations: 92.94 kB / 0.7973 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.03322, allocations: 0 / 0.7973 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.03334, allocations: 35.67 kB / 0.7974 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.03398, allocations: 65.86 kB / 0.7974 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.0356, allocations: 0.5873 MB / 0.798 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.03598, allocations: 212.4 kB / 0.7982 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.03611, allocations: 21.78 kB / 0.7982 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.03622, allocations: 24.48 kB / 0.7983 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.03622, allocations: 0 / 0.7983 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of Templates: time 0.01224/0.04846, allocations: 3.043 MB / 0.8012 GB, free: 13.53 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.794598701992072]