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.001137/0.001137, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001249/0.001249, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.101/2.101, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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 1.833e-06/1.833e-06, allocations: 0.6562 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.001e-05, allocations: 6.516 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002692/0.002722, allocations: 2.229 MB / 0.8816 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.004376, allocations: 1.484 MB / 0.883 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.004487, allocations: 4 kB / 0.883 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.004984, allocations: 181.4 kB / 0.8832 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.005319, allocations: 183.9 kB / 0.8834 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.005528, allocations: 115.6 kB / 0.8835 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.005763, allocations: 246.9 kB / 0.8837 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.005882, allocations: 32.58 kB / 0.8838 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005041/0.006386, allocations: 168 kB / 0.8839 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.006508, allocations: 79.78 kB / 0.884 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.006532, allocations: 16 kB / 0.884 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.006631, allocations: 55.84 kB / 0.8841 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.006709, allocations: 95.62 kB / 0.8842 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.006767, allocations: 63.72 kB / 0.8842 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.007069, allocations: 254.9 kB / 0.8845 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.007072, allocations: 0 / 0.8845 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/0.007073, allocations: 0 / 0.8845 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.007078, allocations: 0 / 0.8845 GB, free: 0.8594 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.0006211/0.007699, allocations: 0.7396 MB / 0.8852 GB, free: 84 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.00773, allocations: 8.031 kB / 0.8852 GB, free: 76 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.007792, allocations: 52.66 kB / 0.8852 GB, free: 24 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.008083, allocations: 300.7 kB / 0.8855 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.008103, allocations: 4.375 kB / 0.8855 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.008118, allocations: 8.375 kB / 0.8855 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.008252, allocations: 96.62 kB / 0.8856 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.00826, allocations: 3.938 kB / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.008268, allocations: 0 / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.008273, allocations: 0 / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.249e-05/0.008306, allocations: 15.98 kB / 0.8857 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.008715, allocations: 391.9 kB / 0.886 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.008813, allocations: 51.17 kB / 0.8861 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.008836, allocations: 19.67 kB / 0.8861 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.008848, allocations: 0 / 0.8861 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.008958, allocations: 102.7 kB / 0.8862 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.008959, allocations: 0 / 0.8862 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0001847/0.009144, allocations: 109.6 kB / 0.8863 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.009172, allocations: 55.41 kB / 0.8864 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.009542, allocations: 0.5258 MB / 0.8869 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.009561, allocations: 37.69 kB / 0.8869 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.009703, allocations: 286.7 kB / 0.8872 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.009724, allocations: 19.83 kB / 0.8872 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.009778, allocations: 51.28 kB / 0.8872 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.009924, allocations: 0.5546 MB / 0.8878 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.009953, allocations: 11.98 kB / 0.8878 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.01001, allocations: 87.12 kB / 0.8879 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.06e-05/0.01007, allocations: 58.16 kB / 0.8879 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01007, allocations: 0 / 0.8879 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000145/0.01022, allocations: 145.3 kB / 0.8881 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01023, allocations: 8 kB / 0.8881 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01023, allocations: 0 / 0.8881 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.649e-06/0.01024, allocations: 3.984 kB / 0.8881 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.01033, allocations: 27.92 kB / 0.8881 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.01033, allocations: 0 / 0.8881 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.01039, allocations: 7.953 kB / 0.8881 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.01041, allocations: 11.98 kB / 0.8881 GB, free: 12.86 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 9.125e-05/0.0105, allocations: 168.5 kB / 0.8883 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.01053, allocations: 47.75 kB / 0.8883 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.01067, allocations: 109.6 kB / 0.8884 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01067, allocations: 0 / 0.8884 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01067, allocations: 0 / 0.8884 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01068, allocations: 0 / 0.8884 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.0109, allocations: 209 kB / 0.8886 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01091, allocations: 3.938 kB / 0.8886 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.01093, allocations: 8 kB / 0.8887 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01093, allocations: 112 / 0.8887 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.01094, allocations: 7.938 kB / 0.8887 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01094, allocations: 0 / 0.8887 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01094, allocations: 4 kB / 0.8887 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.01106, allocations: 148.1 kB / 0.8888 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.47e-05/0.01109, allocations: 43.59 kB / 0.8888 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.01112, allocations: 7.984 kB / 0.8889 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.01116, allocations: 11.94 kB / 0.8889 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.0112, allocations: 7.984 kB / 0.8889 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.0112, allocations: 3.984 kB / 0.8889 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001679/0.01137, allocations: 318.7 kB / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01137, allocations: 0 / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001776/0.01155, allocations: 40 kB / 0.8892 GB, free: 11.68 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.0008238/0.01237, allocations: 394.9 kB / 0.8896 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.0125, allocations: 67.56 kB / 0.8897 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01251, allocations: 4.062 kB / 0.8897 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.01254, allocations: 23.67 kB / 0.8897 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.01279, allocations: 66.08 kB / 0.8898 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007287/0.01352, allocations: 0.5743 MB / 0.8903 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.503e-05/0.01358, allocations: 115.9 kB / 0.8904 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.271e-05/0.01363, allocations: 17.64 kB / 0.8904 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.01375, allocations: 110.2 kB / 0.8905 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.01375, allocations: 4 kB / 0.8905 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.006041/0.01979, allocations: 3.348 MB / 0.8938 GB, free: 7.109 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.528602534905076]