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.001071/0.001071, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001264/0.001264, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.734/1.734, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|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.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.83e-05, allocations: 9.062 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00383/0.003859, allocations: 2.215 MB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.006155, allocations: 1.483 MB / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.006305, allocations: 0 / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000635/0.00694, allocations: 180.1 kB / 0.7921 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.007395, allocations: 180.1 kB / 0.7923 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.007692, allocations: 119.5 kB / 0.7924 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.008028, allocations: 248.6 kB / 0.7926 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.008159, allocations: 28.56 kB / 0.7927 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006761/0.008835, allocations: 162.8 kB / 0.7928 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.008998, allocations: 84.91 kB / 0.7929 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.009036, allocations: 12 kB / 0.7929 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.009169, allocations: 47.92 kB / 0.793 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.009278, allocations: 106.7 kB / 0.7931 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.938e-05/0.009358, allocations: 59.73 kB / 0.7931 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.009785, allocations: 250.9 kB / 0.7934 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.009789, allocations: 0 / 0.7934 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.273e-06/0.009791, allocations: 0 / 0.7934 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.009796, allocations: 0 / 0.7934 GB, free: 7.07 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.000836/0.01063, allocations: 0.7474 MB / 0.7941 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.01067, allocations: 8.031 kB / 0.7941 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.361e-05/0.01075, allocations: 53.14 kB / 0.7941 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.0111, allocations: 289.5 kB / 0.7944 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.01112, allocations: 384 / 0.7944 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.01114, allocations: 8.906 kB / 0.7944 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.01131, allocations: 97.88 kB / 0.7945 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.01133, allocations: 3.938 kB / 0.7945 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.01134, allocations: 4 kB / 0.7945 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.01135, allocations: 0.5312 kB / 0.7945 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.266e-05/0.0114, allocations: 21.23 kB / 0.7946 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.01196, allocations: 388 kB / 0.7949 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.01209, allocations: 56.25 kB / 0.795 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.01212, allocations: 15.69 kB / 0.795 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.01213, allocations: 5.016 kB / 0.795 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.01226, allocations: 90.75 kB / 0.7951 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.01226, allocations: 0 / 0.7951 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.000239/0.0125, allocations: 119.1 kB / 0.7952 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.01253, allocations: 51.41 kB / 0.7952 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.01301, allocations: 0.5258 MB / 0.7958 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.01303, allocations: 33.7 kB / 0.7958 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.01324, allocations: 292.8 kB / 0.7961 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.01327, allocations: 15.84 kB / 0.7961 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.01334, allocations: 55.31 kB / 0.7961 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.01356, allocations: 0.5507 MB / 0.7967 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.0136, allocations: 15.98 kB / 0.7967 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.01368, allocations: 78.67 kB / 0.7968 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.711e-05/0.01378, allocations: 65.25 kB / 0.7968 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01378, allocations: 0 / 0.7968 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002343/0.01401, allocations: 148 kB / 0.797 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01403, allocations: 4 kB / 0.797 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01404, allocations: 0 / 0.797 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.01405, allocations: 7.938 kB / 0.797 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.01416, allocations: 19.98 kB / 0.797 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01417, allocations: 4 kB / 0.797 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.375e-05/0.01426, allocations: 4.5 kB / 0.797 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.01428, allocations: 8 kB / 0.797 GB, free: 3.102 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.0001185/0.0144, allocations: 173.5 kB / 0.7972 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.01445, allocations: 47.67 kB / 0.7972 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.01465, allocations: 107.1 kB / 0.7973 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01465, allocations: 3.984 kB / 0.7973 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01465, allocations: 4.109 kB / 0.7973 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01466, allocations: 4.5 kB / 0.7973 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.01488, allocations: 201.1 kB / 0.7975 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.01488, allocations: 13.61 kB / 0.7975 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.01491, allocations: 8.25 kB / 0.7976 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01491, allocations: 0 / 0.7976 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.01492, allocations: 4 kB / 0.7976 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01492, allocations: 0.9062 kB / 0.7976 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.01492, allocations: 0 / 0.7976 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.0151, allocations: 152.1 kB / 0.7977 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.01516, allocations: 52.36 kB / 0.7978 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.01519, allocations: 3.984 kB / 0.7978 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.01526, allocations: 8.938 kB / 0.7978 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.0153, allocations: 7.984 kB / 0.7978 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.01531, allocations: 9.328 kB / 0.7978 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000257/0.01557, allocations: 318.7 kB / 0.7981 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01557, allocations: 0 / 0.7981 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002841/0.01586, allocations: 40 kB / 0.7981 GB, free: 1.898 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.001175/0.01703, allocations: 397.2 kB / 0.7985 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.0172, allocations: 68.7 kB / 0.7986 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0172, allocations: 0 / 0.7986 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/0.01725, allocations: 28.67 kB / 0.7986 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.01762, allocations: 65.75 kB / 0.7987 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.01867, allocations: 0.5686 MB / 0.7992 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.753e-05/0.01877, allocations: 119.9 kB / 0.7993 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.497e-05/0.01884, allocations: 25.77 kB / 0.7994 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.01899, allocations: 110.2 kB / 0.7995 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.01899, allocations: 0 / 0.7995 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of Templates: time 0.007729/0.02672, allocations: 3.337 MB / 0.8027 GB, free: 13.35 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.045939065981656]