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.001179/0.001179, allocations: 89.06 kB / 19.65 MB, free: 276 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.001387/0.001387, allocations: 177.3 kB / 23.02 MB, free: 1.543 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.9/0.9, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.014/2.014, allocations: 429.5 MB / 0.6733 GB, free: 4 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.064e-06/2.064e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.229e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004069/0.004101, allocations: 2.256 MB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.006454, allocations: 1.504 MB / 0.8819 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.00658, allocations: 0 / 0.8819 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.007196, allocations: 175.3 kB / 0.882 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.007653, allocations: 183 kB / 0.8822 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.007938, allocations: 119.5 kB / 0.8823 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000323/0.008261, allocations: 247 kB / 0.8825 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.008396, allocations: 24.58 kB / 0.8826 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006401/0.009036, allocations: 169.2 kB / 0.8827 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.009196, allocations: 83.72 kB / 0.8828 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.009229, allocations: 12 kB / 0.8828 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.00936, allocations: 51.91 kB / 0.8829 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.009475, allocations: 99.62 kB / 0.883 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.108e-05/0.009566, allocations: 67.67 kB / 0.883 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.009963, allocations: 251 kB / 0.8833 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.009967, allocations: 3.938 kB / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.009968, allocations: 0 / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.009974, allocations: 0 / 0.8833 GB, free: 1.078 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.0009892/0.01096, allocations: 0.7358 MB / 0.884 GB, free: 312 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.01101, allocations: 8.031 kB / 0.884 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.01113, allocations: 48.66 kB / 0.884 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.01153, allocations: 304.8 kB / 0.8843 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.01155, allocations: 8.312 kB / 0.8843 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.01158, allocations: 12.38 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.01178, allocations: 100.6 kB / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.01179, allocations: 3.938 kB / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.0118, allocations: 0 / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.01181, allocations: 0 / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.01188, allocations: 27.91 kB / 0.8845 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.01257, allocations: 475.4 kB / 0.8849 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.01273, allocations: 55.11 kB / 0.885 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.01277, allocations: 23.67 kB / 0.885 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.01279, allocations: 0 / 0.885 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.01294, allocations: 94.75 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.01294, allocations: 0 / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0002799/0.01322, allocations: 125.3 kB / 0.8852 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.01326, allocations: 55.41 kB / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005694/0.01382, allocations: 0.5339 MB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.01385, allocations: 25.7 kB / 0.8858 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.01406, allocations: 290.7 kB / 0.8861 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.01408, allocations: 23.83 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.01416, allocations: 47.36 kB / 0.8862 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.01436, allocations: 0.5548 MB / 0.8867 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.01442, allocations: 19.92 kB / 0.8867 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.491e-05/0.01452, allocations: 83.09 kB / 0.8868 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.01463, allocations: 65.97 kB / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01463, allocations: 0 / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002404/0.01487, allocations: 141.4 kB / 0.887 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01488, allocations: 8.062 kB / 0.887 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01489, allocations: 0 / 0.887 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.0149, allocations: 3.938 kB / 0.887 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.01502, allocations: 27.98 kB / 0.887 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01503, allocations: 0 / 0.887 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/0.01513, allocations: 19.88 kB / 0.8871 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.01515, allocations: 8 kB / 0.8871 GB, free: 12.95 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.0001223/0.01527, allocations: 168.5 kB / 0.8872 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.01532, allocations: 43.72 kB / 0.8873 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.01554, allocations: 113.6 kB / 0.8874 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01554, allocations: 4 kB / 0.8874 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01555, allocations: 0 / 0.8874 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01555, allocations: 0 / 0.8874 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.01583, allocations: 284.7 kB / 0.8877 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01583, allocations: 0 / 0.8877 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.01587, allocations: 15.98 kB / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01587, allocations: 0 / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01588, allocations: 0 / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01588, allocations: 0 / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01588, allocations: 0 / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.01609, allocations: 168 kB / 0.8878 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.01615, allocations: 43.7 kB / 0.8879 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.01619, allocations: 8 kB / 0.8879 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.01627, allocations: 7.984 kB / 0.8879 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.01632, allocations: 7.984 kB / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01633, allocations: 0 / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003371/0.01667, allocations: 338.8 kB / 0.8882 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01667, allocations: 0 / 0.8882 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002881/0.01696, allocations: 47.94 kB / 0.8883 GB, free: 11.65 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.001152/0.01811, allocations: 397.8 kB / 0.8886 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.01832, allocations: 71.58 kB / 0.8887 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01832, allocations: 0 / 0.8887 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/0.01838, allocations: 27.61 kB / 0.8887 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.01874, allocations: 74.14 kB / 0.8888 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.01984, allocations: 0.5666 MB / 0.8894 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.532e-05/0.01994, allocations: 115.9 kB / 0.8895 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.3e-05/0.02003, allocations: 25.78 kB / 0.8895 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.0201, allocations: 24.48 kB / 0.8895 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of SimCode: time 1.393e-06/0.0201, allocations: 0 / 0.8895 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of Templates: time 0.008411/0.02851, allocations: 3.239 MB / 0.8927 GB, free: 7.254 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.563945450820029]