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.001417/0.001417, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001512/0.001512, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 0.9525/0.9525, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.139/2.139, allocations: 429.5 MB / 0.6732 GB, free: 4.07 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 2.344e-06/2.344e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.096e-05, allocations: 3.078 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004459/0.00449, allocations: 2.246 MB / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.007216, allocations: 1.498 MB / 0.8818 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.007435, allocations: 4 kB / 0.8819 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008042/0.008239, allocations: 180.6 kB / 0.882 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.008854, allocations: 176.4 kB / 0.8822 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.009268, allocations: 115.6 kB / 0.8823 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.00969, allocations: 243 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.00986, allocations: 40.44 kB / 0.8826 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.01011, allocations: 127.7 kB / 0.8827 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.01032, allocations: 83.72 kB / 0.8828 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.01036, allocations: 12 kB / 0.8828 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.01055, allocations: 51.92 kB / 0.8828 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.01067, allocations: 99.61 kB / 0.8829 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.01078, allocations: 67.67 kB / 0.883 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.01129, allocations: 258.9 kB / 0.8832 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.01129, allocations: 0 / 0.8832 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/0.0113, allocations: 0 / 0.8832 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.01131, allocations: 0 / 0.8832 GB, free: 1.148 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.001115/0.01242, allocations: 0.7397 MB / 0.884 GB, free: 380 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.01247, allocations: 8.031 kB / 0.884 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.0126, allocations: 52.66 kB / 0.884 GB, free: 320 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.01306, allocations: 293 kB / 0.8843 GB, free: 0 / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.01309, allocations: 384 / 0.8843 GB, free: 0 / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.01311, allocations: 12.5 kB / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.01333, allocations: 108.2 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.01334, allocations: 3.938 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.01336, allocations: 4 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.01337, allocations: 8 kB / 0.8844 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.01344, allocations: 11.98 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.01419, allocations: 471.5 kB / 0.8849 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.01435, allocations: 59.09 kB / 0.8849 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.01439, allocations: 15.69 kB / 0.885 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.01441, allocations: 4 kB / 0.885 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.01457, allocations: 94.73 kB / 0.8851 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.01457, allocations: 0 / 0.8851 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0003434/0.01491, allocations: 137.3 kB / 0.8852 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.01495, allocations: 51.41 kB / 0.8852 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006068/0.01556, allocations: 0.5339 MB / 0.8858 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.01559, allocations: 33.7 kB / 0.8858 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.01582, allocations: 286.8 kB / 0.8861 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.01586, allocations: 23.83 kB / 0.8861 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.01594, allocations: 47.36 kB / 0.8861 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.01618, allocations: 0.5469 MB / 0.8867 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.01625, allocations: 19.98 kB / 0.8867 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.01635, allocations: 87.66 kB / 0.8868 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.01647, allocations: 70.64 kB / 0.8868 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01648, allocations: 0 / 0.8868 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002635/0.01674, allocations: 149.3 kB / 0.887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.01676, allocations: 4 kB / 0.887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.01677, allocations: 4 kB / 0.887 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.01679, allocations: 0 / 0.887 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.01692, allocations: 19.98 kB / 0.887 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.01693, allocations: 4 kB / 0.887 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.735e-05/0.01702, allocations: 11.89 kB / 0.887 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.01705, allocations: 16.02 kB / 0.887 GB, free: 13.01 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.0001273/0.01718, allocations: 168.5 kB / 0.8872 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.01723, allocations: 47.72 kB / 0.8872 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.01747, allocations: 109.6 kB / 0.8873 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01747, allocations: 0 / 0.8873 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01747, allocations: 4 kB / 0.8874 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01748, allocations: 0 / 0.8874 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.01779, allocations: 288.4 kB / 0.8876 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.01779, allocations: 0 / 0.8876 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.01783, allocations: 4 kB / 0.8876 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01783, allocations: 4 kB / 0.8876 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.01785, allocations: 3.984 kB / 0.8876 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01785, allocations: 4 kB / 0.8876 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01785, allocations: 3.938 kB / 0.8876 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.01807, allocations: 156.1 kB / 0.8878 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.01813, allocations: 35.72 kB / 0.8878 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.01817, allocations: 4 kB / 0.8878 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.01825, allocations: 7.984 kB / 0.8878 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.01831, allocations: 7.984 kB / 0.8878 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.01832, allocations: 8.25 kB / 0.8879 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003793/0.0187, allocations: 342.8 kB / 0.8882 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.21e-07/0.0187, allocations: 0 / 0.8882 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003289/0.01903, allocations: 43.94 kB / 0.8882 GB, free: 11.72 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.001404/0.02043, allocations: 395.7 kB / 0.8886 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.02065, allocations: 70.41 kB / 0.8887 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.02066, allocations: 0 / 0.8887 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.63e-05/0.02072, allocations: 35.61 kB / 0.8887 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.02112, allocations: 67.92 kB / 0.8888 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.02246, allocations: 0.5783 MB / 0.8893 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.02259, allocations: 111.9 kB / 0.8894 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.247e-05/0.02268, allocations: 25.62 kB / 0.8895 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.02275, allocations: 24.5 kB / 0.8895 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/0.02275, allocations: 0 / 0.8895 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.007321/0.03008, allocations: 3.048 MB / 0.8925 GB, free: 7.512 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: 5.5816222270950675]