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.0009544/0.0009544, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001691/0.001691, allocations: 161 kB / 23.82 MB, free: 0.75 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.8968/0.8968, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.712/1.712, allocations: 359 MB / 0.6052 GB, free: 11 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 1.183e-06/1.183e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.639e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002358/0.002374, allocations: 2.239 MB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.003823, allocations: 1.497 MB / 0.7908 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.003902, allocations: 4.781 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.004318, allocations: 177.9 kB / 0.7909 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.004598, allocations: 178.3 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.004751, allocations: 125.1 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.004959, allocations: 243 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.005062, allocations: 28.58 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.005487, allocations: 174.5 kB / 0.7917 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.005591, allocations: 80.33 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.005614, allocations: 12.66 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.005699, allocations: 56.61 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.005771, allocations: 91.64 kB / 0.7919 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.00583, allocations: 68.72 kB / 0.792 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.006094, allocations: 251 kB / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006096, allocations: 0 / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006097, allocations: 5.312 kB / 0.7922 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.006101, allocations: 0 / 0.7922 GB, free: 7.297 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.0006044/0.006705, allocations: 0.732 MB / 0.7929 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.006737, allocations: 9.875 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.006805, allocations: 56.61 kB / 0.793 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.007052, allocations: 288.8 kB / 0.7933 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.007069, allocations: 8.375 kB / 0.7933 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.007082, allocations: 8.312 kB / 0.7933 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.007216, allocations: 106.2 kB / 0.7934 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.007223, allocations: 3.938 kB / 0.7934 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.007233, allocations: 3.984 kB / 0.7934 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007239, allocations: 0 / 0.7934 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.007282, allocations: 20.89 kB / 0.7934 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.007723, allocations: 469.6 kB / 0.7938 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.007837, allocations: 55.11 kB / 0.7939 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.007867, allocations: 19.67 kB / 0.7939 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.007879, allocations: 0 / 0.7939 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.007991, allocations: 101 kB / 0.794 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.007992, allocations: 0 / 0.794 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001959/0.008188, allocations: 121.3 kB / 0.7941 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.008218, allocations: 55.41 kB / 0.7942 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.008576, allocations: 0.5417 MB / 0.7947 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.008591, allocations: 26.2 kB / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.008727, allocations: 286.8 kB / 0.795 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.008748, allocations: 24.36 kB / 0.795 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.008795, allocations: 49.27 kB / 0.7951 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.008929, allocations: 0.5508 MB / 0.7956 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.008967, allocations: 20.09 kB / 0.7956 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.009029, allocations: 86.78 kB / 0.7957 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.918e-05/0.009098, allocations: 64.39 kB / 0.7958 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.0091, allocations: 0 / 0.7958 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001477/0.009248, allocations: 149.3 kB / 0.7959 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.009264, allocations: 8 kB / 0.7959 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.009269, allocations: 4.234 kB / 0.7959 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.009281, allocations: 0 / 0.7959 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.009362, allocations: 32.95 kB / 0.796 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.009367, allocations: 0 / 0.796 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.009422, allocations: 15.92 kB / 0.796 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.009437, allocations: 8.656 kB / 0.796 GB, free: 3.184 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 7.99e-05/0.009517, allocations: 167.2 kB / 0.7961 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.009547, allocations: 51.61 kB / 0.7962 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.009685, allocations: 114.5 kB / 0.7963 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.009687, allocations: 4 kB / 0.7963 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.00969, allocations: 0.7812 kB / 0.7963 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.009692, allocations: 0 / 0.7963 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.009866, allocations: 291.8 kB / 0.7966 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009867, allocations: 0 / 0.7966 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.009883, allocations: 7.984 kB / 0.7966 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.009885, allocations: 0 / 0.7966 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.009892, allocations: 4 kB / 0.7966 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009893, allocations: 0 / 0.7966 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.009894, allocations: 0 / 0.7966 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.01001, allocations: 156 kB / 0.7967 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.01004, allocations: 43.67 kB / 0.7968 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.01006, allocations: 5.594 kB / 0.7968 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.0101, allocations: 7.984 kB / 0.7968 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.01014, allocations: 7.984 kB / 0.7968 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01014, allocations: 4 kB / 0.7968 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002009/0.01034, allocations: 339.8 kB / 0.7971 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01034, allocations: 0 / 0.7971 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001577/0.0105, allocations: 43.94 kB / 0.7972 GB, free: 1.887 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.0007657/0.01127, allocations: 399.5 kB / 0.7976 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.01141, allocations: 74.11 kB / 0.7976 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01141, allocations: 0 / 0.7976 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.01144, allocations: 23.62 kB / 0.7977 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.01166, allocations: 64.5 kB / 0.7977 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/0.01237, allocations: 0.5771 MB / 0.7983 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.01244, allocations: 119.9 kB / 0.7984 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.071e-05/0.01249, allocations: 29.78 kB / 0.7984 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.01254, allocations: 24.48 kB / 0.7984 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01254, allocations: 0 / 0.7984 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of Templates: time 0.006718/0.01926, allocations: 3.232 MB / 0.8016 GB, free: 13.51 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.85396100115031]