Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001027/0.001027, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001039/0.001039, allocations: 185 kB / 24.09 MB, free: 416 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 0.9245/0.9245, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.776/1.776, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.852e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004136/0.004165, allocations: 2.221 MB / 0.7897 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002399/0.006564, allocations: 1.473 MB / 0.7912 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.00673, allocations: 0.6562 kB / 0.7912 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006589/0.007389, allocations: 187.9 kB / 0.7914 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.007907, allocations: 177.4 kB / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.008253, allocations: 115.5 kB / 0.7916 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.008568, allocations: 251 kB / 0.7919 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.008702, allocations: 21.03 kB / 0.7919 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/0.009365, allocations: 181.4 kB / 0.7921 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.009522, allocations: 79.78 kB / 0.7922 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.009552, allocations: 12 kB / 0.7922 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.009701, allocations: 55.91 kB / 0.7922 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.009807, allocations: 96.22 kB / 0.7923 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.007e-05/0.009887, allocations: 69.66 kB / 0.7924 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.01032, allocations: 246.9 kB / 0.7926 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.01032, allocations: 0 / 0.7926 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.723e-06/0.01033, allocations: 0 / 0.7926 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.01033, allocations: 0 / 0.7926 GB, free: 7.043 MB / 0.7448 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.0009952/0.01133, allocations: 0.744 MB / 0.7933 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.01138, allocations: 8.031 kB / 0.7933 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.01146, allocations: 57.33 kB / 0.7934 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.01181, allocations: 286.3 kB / 0.7937 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.01183, allocations: 4.359 kB / 0.7937 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.01185, allocations: 8.375 kB / 0.7937 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.01204, allocations: 92.62 kB / 0.7938 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01205, allocations: 8.562 kB / 0.7938 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.01206, allocations: 5.031 kB / 0.7938 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01207, allocations: 0 / 0.7938 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.01212, allocations: 19.92 kB / 0.7938 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.01265, allocations: 388.8 kB / 0.7942 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.01277, allocations: 47.8 kB / 0.7942 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.0128, allocations: 21.08 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.01281, allocations: 3.938 kB / 0.7942 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.01294, allocations: 95.22 kB / 0.7943 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 2.685e-06/0.01295, allocations: 1.031 kB / 0.7943 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002437/0.01319, allocations: 121.3 kB / 0.7945 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.01322, allocations: 51.41 kB / 0.7945 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.0137, allocations: 0.5306 MB / 0.795 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.01373, allocations: 29.7 kB / 0.795 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.01395, allocations: 287.5 kB / 0.7953 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.01399, allocations: 19.84 kB / 0.7953 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.01406, allocations: 47.34 kB / 0.7954 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.01428, allocations: 0.5567 MB / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.01433, allocations: 15.98 kB / 0.7959 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.01441, allocations: 80.62 kB / 0.796 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.726e-05/0.0145, allocations: 57.41 kB / 0.7961 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.0145, allocations: 2.688 kB / 0.7961 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002145/0.01471, allocations: 145.3 kB / 0.7962 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01473, allocations: 4 kB / 0.7962 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01473, allocations: 4 kB / 0.7962 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01475, allocations: 3.938 kB / 0.7962 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.01486, allocations: 23.98 kB / 0.7963 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01487, allocations: 5.594 kB / 0.7963 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.01496, allocations: 4 kB / 0.7963 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.01498, allocations: 4 kB / 0.7963 GB, free: 3.07 MB / 0.7448 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.0001262/0.0151, allocations: 174.8 kB / 0.7964 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.01515, allocations: 47.67 kB / 0.7965 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.01536, allocations: 110.1 kB / 0.7966 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.01537, allocations: 8.766 kB / 0.7966 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01537, allocations: 3.984 kB / 0.7966 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01537, allocations: 0.5625 kB / 0.7966 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.01559, allocations: 202.2 kB / 0.7968 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.0156, allocations: 3.938 kB / 0.7968 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.01563, allocations: 8.234 kB / 0.7968 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01563, allocations: 0.6562 kB / 0.7968 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01564, allocations: 4 kB / 0.7968 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.01564, allocations: 4.906 kB / 0.7968 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01565, allocations: 0 / 0.7968 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.01582, allocations: 159.9 kB / 0.797 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.01588, allocations: 51.55 kB / 0.797 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.01591, allocations: 0 / 0.797 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.01597, allocations: 7.984 kB / 0.797 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.01602, allocations: 11.98 kB / 0.797 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01603, allocations: 4 kB / 0.797 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000263/0.01629, allocations: 322.7 kB / 0.7973 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01629, allocations: 0 / 0.7973 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002847/0.01657, allocations: 40 kB / 0.7974 GB, free: 1.863 MB / 0.7448 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.01772, allocations: 388.3 kB / 0.7977 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.01788, allocations: 66.25 kB / 0.7978 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01788, allocations: 0 / 0.7978 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.416e-05/0.01792, allocations: 23.62 kB / 0.7978 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.01826, allocations: 65.03 kB / 0.7979 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.01927, allocations: 0.5744 MB / 0.7985 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.153e-05/0.01936, allocations: 111.9 kB / 0.7986 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.469e-05/0.01943, allocations: 29.75 kB / 0.7986 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.01957, allocations: 118.2 kB / 0.7987 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.01957, allocations: 0 / 0.7987 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of Templates: time 0.008175/0.02775, allocations: 3.297 MB / 0.8019 GB, free: 13.36 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.917432326823473]