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.001703/0.001703, allocations: 79.59 kB / 20.45 MB, free: 4.121 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.001476/0.001476, allocations: 165.3 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 1.014/1.014, allocations: 177.1 MB / 204.2 MB, free: 5.641 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 2.013/2.013, allocations: 377.9 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.824e-06/1.824e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.611e-05, allocations: 3.375 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004824/0.00485, allocations: 4.171 MB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.005008, allocations: 164.6 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.005035, allocations: 1.375 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.00516, allocations: 3.938 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.608e-05/0.005246, allocations: 11.92 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.005576, allocations: 93.36 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.005663, allocations: 31.86 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.005704, allocations: 0.5938 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.005767, allocations: 24.91 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.005841, allocations: 11.92 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.005854, allocations: 4 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.006039, allocations: 56.36 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.006089, allocations: 5.375 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.006112, allocations: 11.92 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.006254, allocations: 67.8 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006257, allocations: 2.594 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.332e-06/0.006259, allocations: 0 / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.006264, allocations: 0 / 0.816 GB, free: 13.14 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.0003687/0.006633, allocations: 364.3 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.006677, allocations: 8.031 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.006734, allocations: 9.234 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.66e-05/0.006821, allocations: 108.6 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.006892, allocations: 52.5 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.006907, allocations: 5.094 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.007044, allocations: 80.66 kB / 0.8166 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.007052, allocations: 0.7188 kB / 0.8166 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.007063, allocations: 5.594 kB / 0.8166 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.007091, allocations: 0 / 0.8166 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.007117, allocations: 15.86 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.007487, allocations: 255.8 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/0.007524, allocations: 27.56 kB / 0.8169 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.00754, allocations: 12.22 kB / 0.8169 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.007585, allocations: 4.594 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.007611, allocations: 41.38 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.007613, allocations: 1.125 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.007754, allocations: 37.64 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.007781, allocations: 52.34 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.007866, allocations: 165.9 kB / 0.8172 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.007879, allocations: 26.55 kB / 0.8173 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.007928, allocations: 134.8 kB / 0.8174 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.007935, allocations: 10.17 kB / 0.8174 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.007964, allocations: 23.38 kB / 0.8174 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.008079, allocations: 496.1 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.008091, allocations: 0 / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.008112, allocations: 19.38 kB / 0.8179 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.008146, allocations: 34.09 kB / 0.8179 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008148, allocations: 0 / 0.8179 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.249e-05/0.00821, allocations: 53.56 kB / 0.818 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.008224, allocations: 4 kB / 0.818 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.00823, allocations: 4 kB / 0.818 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.008245, allocations: 0 / 0.818 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.37e-05/0.008288, allocations: 9.453 kB / 0.818 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.008293, allocations: 0 / 0.818 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.008306, allocations: 0 / 0.818 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.008316, allocations: 4 kB / 0.818 GB, free: 10.89 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.041e-05/0.008386, allocations: 153.1 kB / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.008406, allocations: 12.61 kB / 0.8182 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.008532, allocations: 173.5 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.154e-05/0.008594, allocations: 264.1 kB / 0.8186 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.044e-05/0.008654, allocations: 264.1 kB / 0.8188 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.277e-05/0.008717, allocations: 276.1 kB / 0.8191 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.008897, allocations: 499.9 kB / 0.8196 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/0.008935, allocations: 150.2 kB / 0.8197 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.008971, allocations: 144.9 kB / 0.8199 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.83e-05/0.009039, allocations: 280 kB / 0.8201 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/0.009106, allocations: 273.4 kB / 0.8204 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.385e-05/0.00917, allocations: 268.1 kB / 0.8206 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.18e-05/0.009232, allocations: 272 kB / 0.8209 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.00937, allocations: 444.6 kB / 0.8213 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.009417, allocations: 164.8 kB / 0.8215 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.341e-05/0.00949, allocations: 264.6 kB / 0.8217 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.00961, allocations: 156.5 kB / 0.8219 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.009676, allocations: 264.1 kB / 0.8221 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.00971, allocations: 152.8 kB / 0.8223 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.009753, allocations: 131.2 kB / 0.8224 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009753, allocations: 0 / 0.8224 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001755/0.009929, allocations: 15.94 kB / 0.8224 GB, free: 6.184 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.0001755/0.0101, allocations: 241.3 kB / 0.8227 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.636e-05/0.01018, allocations: 15.67 kB / 0.8227 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01018, allocations: 1.562 kB / 0.8227 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.01018, allocations: 0 / 0.8227 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01052, allocations: 0.7139 MB / 0.8234 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.01096, allocations: 230.5 kB / 0.8236 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.552e-05/0.01099, allocations: 56.47 kB / 0.8236 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.01103, allocations: 5.031 kB / 0.8237 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.01105, allocations: 12.5 kB / 0.8237 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of SimCode: time 9.12e-07/0.01105, allocations: 1.094 kB / 0.8237 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of Templates: time 0.00245/0.0135, allocations: 0.6807 MB / 0.8243 GB, free: 4.195 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.406276736874133]