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.0008077/0.0008077, allocations: 81.95 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.0009767/0.0009767, allocations: 185.3 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.9489/0.9489, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.867/1.867, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.914e-06/1.914e-06, allocations: 0 / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.777e-05, allocations: 6.25 kB / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006136/0.006154, allocations: 4.148 MB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000198/0.006352, allocations: 161 kB / 0.8162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.00638, allocations: 0 / 0.8162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.006487, allocations: 7.938 kB / 0.8162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.431e-05/0.006561, allocations: 9.359 kB / 0.8162 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.006895, allocations: 97.3 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.478e-05/0.00698, allocations: 31.86 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.007017, allocations: 0 / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.007087, allocations: 20.91 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.007167, allocations: 19.92 kB / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.00718, allocations: 0 / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.007367, allocations: 48.45 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.007415, allocations: 16.41 kB / 0.8164 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.007435, allocations: 8.547 kB / 0.8164 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.00758, allocations: 59.86 kB / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.007582, allocations: 0.6875 kB / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.007583, allocations: 0 / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.615e-06/0.007586, allocations: 1.25 kB / 0.8165 GB, free: 12.88 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.0003269/0.007913, allocations: 364.3 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.007952, allocations: 8.031 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.007984, allocations: 11.8 kB / 0.8169 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.827e-05/0.008063, allocations: 104.6 kB / 0.817 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.141e-05/0.008124, allocations: 55.97 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.008135, allocations: 8.25 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.008245, allocations: 80.66 kB / 0.8171 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.008254, allocations: 4.172 kB / 0.8171 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.008262, allocations: 4.469 kB / 0.8171 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.008282, allocations: 0.7188 kB / 0.8171 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.008304, allocations: 7.984 kB / 0.8171 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.008631, allocations: 241 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.293e-05/0.008663, allocations: 28.62 kB / 0.8174 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.008677, allocations: 11.75 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.008722, allocations: 8 kB / 0.8174 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.008748, allocations: 38.14 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.008749, allocations: 4 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001125/0.008862, allocations: 34.62 kB / 0.8175 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.008891, allocations: 51.41 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.008976, allocations: 167.1 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.00899, allocations: 29.64 kB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.009047, allocations: 134.8 kB / 0.8178 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.009054, allocations: 8.797 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.009087, allocations: 19.38 kB / 0.8179 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.009231, allocations: 0.4923 MB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.00924, allocations: 2.219 kB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.009261, allocations: 19.38 kB / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.009291, allocations: 19.38 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.009292, allocations: 0 / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.122e-05/0.009364, allocations: 56.53 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.009376, allocations: 8 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.00938, allocations: 0 / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.00939, allocations: 0 / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.152e-05/0.009421, allocations: 4 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.009424, allocations: 0 / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.009442, allocations: 4 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.009452, allocations: 5.391 kB / 0.8184 GB, free: 10.66 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 7.174e-05/0.009524, allocations: 160.5 kB / 0.8186 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.009549, allocations: 7.891 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.009656, allocations: 164.4 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.308e-05/0.009729, allocations: 269.1 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.272e-05/0.009802, allocations: 276 kB / 0.8193 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.41e-05/0.009876, allocations: 268.2 kB / 0.8195 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.0101, allocations: 489.5 kB / 0.82 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.441e-05/0.01014, allocations: 148.9 kB / 0.8201 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.01019, allocations: 149.5 kB / 0.8203 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.687e-05/0.01026, allocations: 272 kB / 0.8205 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/0.01034, allocations: 265.9 kB / 0.8208 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.542e-05/0.01041, allocations: 272 kB / 0.8211 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.489e-05/0.01049, allocations: 268.1 kB / 0.8213 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.01064, allocations: 452 kB / 0.8217 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.01069, allocations: 148.9 kB / 0.8219 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.402e-05/0.01077, allocations: 269.2 kB / 0.8221 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.01091, allocations: 156.8 kB / 0.8223 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.01098, allocations: 268.3 kB / 0.8226 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.01102, allocations: 146 kB / 0.8227 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.01107, allocations: 127.2 kB / 0.8228 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01107, allocations: 0 / 0.8228 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002686/0.01134, allocations: 24.59 kB / 0.8228 GB, free: 5.973 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.0001662/0.0115, allocations: 235.1 kB / 0.8231 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.035e-05/0.01156, allocations: 23.53 kB / 0.8231 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01156, allocations: 0 / 0.8231 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.01157, allocations: 0 / 0.8231 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.01202, allocations: 0.7062 MB / 0.8238 GB, free: 5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.01242, allocations: 241.5 kB / 0.824 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.593e-05/0.01245, allocations: 59.23 kB / 0.8241 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.01249, allocations: 9.281 kB / 0.8241 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.01257, allocations: 86.17 kB / 0.8242 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.01257, allocations: 1.031 kB / 0.8242 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of Templates: time 0.002641/0.01521, allocations: 0.7382 MB / 0.8249 GB, free: 3.84 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.0127788400277495]