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.0008945/0.0008945, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009324/0.0009324, allocations: 169 kB / 23.27 MB, free: 1.223 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.8769/0.8769, allocations: 177.2 MB / 203.7 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.624/2.624, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.053e-06/2.053e-06, allocations: 0 / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.418e-05, allocations: 9.484 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003119/0.003153, allocations: 2.228 MB / 0.8919 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.00507, allocations: 1.471 MB / 0.8934 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.005163, allocations: 0 / 0.8934 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.005579, allocations: 183.5 kB / 0.8936 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.005868, allocations: 183 kB / 0.8937 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.006029, allocations: 115.5 kB / 0.8938 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.006248, allocations: 247 kB / 0.8941 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.006354, allocations: 28.58 kB / 0.8941 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.006817, allocations: 172.8 kB / 0.8943 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.006923, allocations: 79.73 kB / 0.8943 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.006944, allocations: 12 kB / 0.8944 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.007037, allocations: 59.89 kB / 0.8944 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.007116, allocations: 95.62 kB / 0.8945 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.007175, allocations: 67.66 kB / 0.8946 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.007463, allocations: 243 kB / 0.8948 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.007464, allocations: 3.938 kB / 0.8948 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.02e-07/0.007465, allocations: 4 kB / 0.8948 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.007471, allocations: 0 / 0.8948 GB, free: 4.531 MB / 0.8542 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.0006089/0.00808, allocations: 0.7435 MB / 0.8955 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.008117, allocations: 8.625 kB / 0.8955 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.008172, allocations: 56.61 kB / 0.8956 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.008397, allocations: 284.9 kB / 0.8959 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.00841, allocations: 4.312 kB / 0.8959 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.008423, allocations: 12.38 kB / 0.8959 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.008532, allocations: 92.62 kB / 0.896 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.008539, allocations: 3.938 kB / 0.896 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.008546, allocations: 11.98 kB / 0.896 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.00855, allocations: 0 / 0.896 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.008581, allocations: 15.92 kB / 0.896 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.008966, allocations: 384 kB / 0.8964 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.009063, allocations: 55.09 kB / 0.8964 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.009088, allocations: 15.69 kB / 0.8964 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.009103, allocations: 0 / 0.8964 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.009216, allocations: 98.73 kB / 0.8965 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.009217, allocations: 0 / 0.8965 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0001807/0.009397, allocations: 117.3 kB / 0.8966 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.009424, allocations: 51.41 kB / 0.8967 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.009758, allocations: 0.5336 MB / 0.8972 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.009774, allocations: 29.7 kB / 0.8972 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.00992, allocations: 286.7 kB / 0.8975 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.009943, allocations: 19.83 kB / 0.8975 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.009994, allocations: 47.34 kB / 0.8976 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.01016, allocations: 0.5547 MB / 0.8981 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.01019, allocations: 19.92 kB / 0.8981 GB, free: 0.9102 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.267e-05/0.01024, allocations: 83.06 kB / 0.8982 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.815e-05/0.0103, allocations: 53.56 kB / 0.8983 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.0103, allocations: 0 / 0.8983 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001405/0.01044, allocations: 145.5 kB / 0.8984 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.01045, allocations: 7.984 kB / 0.8984 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.01045, allocations: 4 kB / 0.8984 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.01047, allocations: 0 / 0.8984 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/0.01053, allocations: 23.94 kB / 0.8984 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01054, allocations: 4.062 kB / 0.8984 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.01059, allocations: 11.98 kB / 0.8985 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.01061, allocations: 8 kB / 0.8985 GB, free: 0.5469 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.101e-05/0.0107, allocations: 168.5 kB / 0.8986 GB, free: 380 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.01073, allocations: 51.64 kB / 0.8987 GB, free: 328 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.01086, allocations: 101.7 kB / 0.8988 GB, free: 220 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01086, allocations: 4 kB / 0.8988 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.01086, allocations: 0 / 0.8988 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01087, allocations: 3.984 kB / 0.8988 GB, free: 212 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.01102, allocations: 205.1 kB / 0.899 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01102, allocations: 7.938 kB / 0.899 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.01104, allocations: 4 kB / 0.899 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01105, allocations: 3.984 kB / 0.899 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.01105, allocations: 4 kB / 0.899 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01106, allocations: 4 kB / 0.899 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01106, allocations: 3.984 kB / 0.899 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.01117, allocations: 148.1 kB / 0.8991 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.01121, allocations: 47.59 kB / 0.8992 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.01123, allocations: 0 / 0.8992 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.01126, allocations: 7.984 kB / 0.8992 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.0113, allocations: 15.98 kB / 0.8992 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01131, allocations: 4 kB / 0.8992 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000172/0.01148, allocations: 322.7 kB / 0.8995 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01148, allocations: 0 / 0.8995 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001631/0.01165, allocations: 43.95 kB / 0.8996 GB, free: 15.36 MB / 0.8698 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.0008392/0.01249, allocations: 395.3 kB / 0.8999 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.0126, allocations: 59.58 kB / 0.9 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.0126, allocations: 0 / 0.9 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.01264, allocations: 31.61 kB / 0.9 GB, free: 15 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.01287, allocations: 70.73 kB / 0.9001 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007599/0.01363, allocations: 0.5783 MB / 0.9007 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.412e-05/0.01371, allocations: 115.9 kB / 0.9008 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.85e-05/0.01376, allocations: 29.75 kB / 0.9008 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.01386, allocations: 110.2 kB / 0.9009 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/0.01386, allocations: 0 / 0.9009 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of Templates: time 0.005948/0.01981, allocations: 3.294 MB / 0.9041 GB, free: 10.83 MB / 0.8698 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.742708277888596]