Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001058/0.001058, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001026/0.001026, allocations: 173 kB / 23.49 MB, free: 1.059 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.055/1.055, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.311/2.311, allocations: 429.5 MB / 0.6736 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.707e-06/3.707e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.271e-05/4.642e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004298/0.004345, allocations: 2.24 MB / 0.8804 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.006692, allocations: 1.495 MB / 0.8819 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.00688, allocations: 3.938 kB / 0.8819 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007861/0.007666, allocations: 179.1 kB / 0.882 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.00815, allocations: 181.5 kB / 0.8822 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.008475, allocations: 120.6 kB / 0.8823 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.008821, allocations: 243 kB / 0.8826 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.009025, allocations: 25.72 kB / 0.8826 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.00922, allocations: 131.6 kB / 0.8827 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.009397, allocations: 83.72 kB / 0.8828 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.009435, allocations: 13.59 kB / 0.8828 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.00961, allocations: 51.92 kB / 0.8828 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.009739, allocations: 99.61 kB / 0.8829 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.009829, allocations: 67.67 kB / 0.883 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.01027, allocations: 257.7 kB / 0.8832 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.01028, allocations: 0 / 0.8832 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.224e-06/0.01028, allocations: 0 / 0.8832 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.01029, allocations: 0 / 0.8832 GB, free: 1.465 MB / 0.8386 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.0009985/0.01129, allocations: 0.7358 MB / 0.884 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.01135, allocations: 12.03 kB / 0.884 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.01146, allocations: 52.59 kB / 0.884 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.01192, allocations: 294.7 kB / 0.8843 GB, free: 324 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.01196, allocations: 4.375 kB / 0.8843 GB, free: 320 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.01198, allocations: 8.375 kB / 0.8843 GB, free: 312 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.01226, allocations: 104.3 kB / 0.8844 GB, free: 192 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.01227, allocations: 0.625 kB / 0.8844 GB, free: 192 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.01228, allocations: 0 / 0.8844 GB, free: 192 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.0123, allocations: 5.656 kB / 0.8844 GB, free: 188 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.103e-05/0.01237, allocations: 23.92 kB / 0.8845 GB, free: 164 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.01324, allocations: 471.4 kB / 0.8849 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.01343, allocations: 59.83 kB / 0.885 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.01348, allocations: 12.5 kB / 0.885 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.0135, allocations: 7.984 kB / 0.885 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.0137, allocations: 98.75 kB / 0.8851 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 3.747e-06/0.0137, allocations: 0 / 0.8851 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0003301/0.01403, allocations: 125.3 kB / 0.8852 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.01409, allocations: 51.41 kB / 0.8852 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/0.01459, allocations: 0.5417 MB / 0.8858 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.01462, allocations: 29.7 kB / 0.8858 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.01485, allocations: 278.8 kB / 0.8861 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.01488, allocations: 23.83 kB / 0.8861 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.01495, allocations: 47.36 kB / 0.8861 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.01516, allocations: 0.5508 MB / 0.8867 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.01522, allocations: 19.98 kB / 0.8867 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.01531, allocations: 84.73 kB / 0.8868 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.741e-05/0.01541, allocations: 59.3 kB / 0.8868 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01541, allocations: 0 / 0.8868 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002148/0.01562, allocations: 144.6 kB / 0.887 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.01565, allocations: 8 kB / 0.887 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.01566, allocations: 0 / 0.887 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.01568, allocations: 0 / 0.887 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.01582, allocations: 31.98 kB / 0.887 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.01582, allocations: 4.109 kB / 0.887 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.01591, allocations: 19.81 kB / 0.887 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.01593, allocations: 8.25 kB / 0.887 GB, free: 13.35 MB / 0.8542 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.0002305/0.01616, allocations: 168.5 kB / 0.8872 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.01621, allocations: 43.72 kB / 0.8872 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.01642, allocations: 117.6 kB / 0.8873 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01643, allocations: 4 kB / 0.8874 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01643, allocations: 0 / 0.8874 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.01644, allocations: 3.984 kB / 0.8874 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.01668, allocations: 292.4 kB / 0.8876 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01669, allocations: 0 / 0.8876 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.01673, allocations: 7.984 kB / 0.8876 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01673, allocations: 0 / 0.8876 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.01675, allocations: 4 kB / 0.8876 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.01675, allocations: 0 / 0.8876 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01675, allocations: 0 / 0.8876 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.01694, allocations: 160 kB / 0.8878 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.01698, allocations: 35.72 kB / 0.8878 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.01701, allocations: 8 kB / 0.8878 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.01707, allocations: 7.984 kB / 0.8878 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.01713, allocations: 7.984 kB / 0.8879 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.01715, allocations: 4 kB / 0.8879 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002455/0.01739, allocations: 338.8 kB / 0.8882 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01739, allocations: 0 / 0.8882 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002101/0.0176, allocations: 47.94 kB / 0.8882 GB, free: 12.05 MB / 0.8542 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.001151/0.01876, allocations: 391.5 kB / 0.8886 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.01898, allocations: 67.58 kB / 0.8887 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.01899, allocations: 4 kB / 0.8887 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.01904, allocations: 23.62 kB / 0.8887 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.01938, allocations: 74.03 kB / 0.8888 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.02062, allocations: 0.5899 MB / 0.8893 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.758e-05/0.0207, allocations: 111.9 kB / 0.8894 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.136e-05/0.02078, allocations: 29.61 kB / 0.8895 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.02084, allocations: 24.48 kB / 0.8895 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of SimCode: time 1.493e-06/0.02085, allocations: 0 / 0.8895 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.008029/0.02888, allocations: 3.047 MB / 0.8925 GB, free: 7.84 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.239950062939897]