Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001577/0.001577, allocations: 83.59 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.001775/0.001775, allocations: 169 kB / 23.82 MB, free: 0.7422 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 1.014/1.014, allocations: 177.1 MB / 204.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.851/1.851, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.595e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004597/0.004623, allocations: 4.175 MB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.004771, allocations: 155.4 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.004795, allocations: 0 / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.004918, allocations: 8.719 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.908e-05/0.005007, allocations: 15.84 kB / 0.8157 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.005358, allocations: 89.81 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.005448, allocations: 39.83 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.005488, allocations: 0.5938 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.005543, allocations: 15.98 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.005622, allocations: 24.41 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.005636, allocations: 0.875 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.005813, allocations: 43.83 kB / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.005865, allocations: 17.12 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.005888, allocations: 7.938 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.006032, allocations: 59.86 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.006035, allocations: 1.375 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.006036, allocations: 0 / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.006042, allocations: 4 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003702/0.006412, allocations: 357.4 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.006451, allocations: 8.031 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.0065, allocations: 9.234 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.53e-05/0.006585, allocations: 109.5 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-05/0.006664, allocations: 63.89 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.006676, allocations: 1.219 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.006815, allocations: 76.66 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.006827, allocations: 10.3 kB / 0.8166 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.006839, allocations: 7.875 kB / 0.8166 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.006867, allocations: 0 / 0.8166 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/0.006897, allocations: 12 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.007317, allocations: 251.8 kB / 0.8169 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.248e-05/0.00737, allocations: 35.5 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.00739, allocations: 14.22 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.543e-05/0.007446, allocations: 12.05 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.007473, allocations: 33.39 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.007475, allocations: 0 / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001615/0.007636, allocations: 29.7 kB / 0.817 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.007675, allocations: 59.34 kB / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.00778, allocations: 163.6 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.007795, allocations: 25.7 kB / 0.8173 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.007874, allocations: 142.8 kB / 0.8174 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-06/0.007881, allocations: 3.953 kB / 0.8174 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.007913, allocations: 23.86 kB / 0.8174 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.008055, allocations: 496.1 kB / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.008068, allocations: 4.562 kB / 0.8179 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.008091, allocations: 25.02 kB / 0.8179 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.008126, allocations: 19.38 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.008135, allocations: 0 / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.028e-05/0.008205, allocations: 54.38 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.008221, allocations: 8.656 kB / 0.818 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.008225, allocations: 0 / 0.818 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.008244, allocations: 3.688 kB / 0.818 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.008286, allocations: 4 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.008292, allocations: 0 / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.008307, allocations: 4 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.008316, allocations: 0 / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001054/0.008422, allocations: 164.5 kB / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.008439, allocations: 7.891 kB / 0.8182 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.008569, allocations: 163.7 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003975/0.008967, allocations: 273.8 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.476e-05/0.009031, allocations: 268.1 kB / 0.8188 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.82e-05/0.00911, allocations: 272.1 kB / 0.8191 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.009292, allocations: 499.8 kB / 0.8196 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/0.009328, allocations: 148.8 kB / 0.8197 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.009369, allocations: 153.9 kB / 0.8199 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.788e-05/0.009447, allocations: 272 kB / 0.8201 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/0.009519, allocations: 264.1 kB / 0.8204 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.157e-05/0.00959, allocations: 273.1 kB / 0.8206 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.982e-05/0.00966, allocations: 264.1 kB / 0.8209 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.009817, allocations: 452.2 kB / 0.8213 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.009867, allocations: 153.9 kB / 0.8215 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.009939, allocations: 272 kB / 0.8217 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.01004, allocations: 158 kB / 0.8219 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.01011, allocations: 272 kB / 0.8221 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.01014, allocations: 148.9 kB / 0.8223 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.01019, allocations: 124 kB / 0.8224 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01019, allocations: 0 / 0.8224 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001702/0.01036, allocations: 21.14 kB / 0.8224 GB, free: 6.145 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001648/0.01053, allocations: 234.4 kB / 0.8226 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.759e-05/0.0106, allocations: 21.56 kB / 0.8227 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01061, allocations: 0 / 0.8227 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.71e-07/0.01061, allocations: 0 / 0.8227 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.01096, allocations: 0.7101 MB / 0.8234 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.01141, allocations: 238.8 kB / 0.8236 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.471e-05/0.01145, allocations: 57.83 kB / 0.8236 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.96e-05/0.01148, allocations: 4 kB / 0.8236 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.0115, allocations: 8.5 kB / 0.8237 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.0115, allocations: 0 / 0.8237 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.002335/0.01383, allocations: 0.7428 MB / 0.8244 GB, free: 4.094 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.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.078655250836164]