Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001346/0.001346, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001554/0.001554, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9529/0.9529, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.353/2.353, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.931e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004104/0.004123, allocations: 4.185 MB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001416/0.004265, allocations: 167.4 kB / 0.8428 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.004287, allocations: 0 / 0.8428 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.004388, allocations: 0 / 0.8428 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.00446, allocations: 11.92 kB / 0.8428 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.004746, allocations: 91.56 kB / 0.8429 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.032e-05/0.004817, allocations: 31.84 kB / 0.8429 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.004853, allocations: 7.984 kB / 0.8429 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.004902, allocations: 27.97 kB / 0.843 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.004966, allocations: 4 kB / 0.843 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.004976, allocations: 0 / 0.843 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.005124, allocations: 59.8 kB / 0.843 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.005163, allocations: 3.984 kB / 0.843 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.351e-05/0.005176, allocations: 7.938 kB / 0.843 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.00528, allocations: 71.8 kB / 0.8431 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.005282, allocations: 0 / 0.8431 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.6e-07/0.005282, allocations: 0 / 0.8431 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.384e-06/0.005285, allocations: 0 / 0.8431 GB, free: 9.59 MB / 0.8073 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.0002476/0.005532, allocations: 232.6 kB / 0.8433 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.005563, allocations: 8.625 kB / 0.8433 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.005587, allocations: 4.938 kB / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.005662, allocations: 105.8 kB / 0.8434 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.005708, allocations: 55.97 kB / 0.8435 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.00572, allocations: 4.359 kB / 0.8435 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.714e-05/0.005817, allocations: 83.42 kB / 0.8436 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.005824, allocations: 4.172 kB / 0.8436 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.005831, allocations: 3.938 kB / 0.8436 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.00585, allocations: 0 / 0.8436 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.005868, allocations: 8 kB / 0.8436 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.006109, allocations: 170 kB / 0.8437 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.597e-05/0.006135, allocations: 18.58 kB / 0.8438 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.308e-06/0.006145, allocations: 8.859 kB / 0.8438 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.006176, allocations: 4 kB / 0.8438 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.006198, allocations: 42.5 kB / 0.8438 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.006199, allocations: 0 / 0.8438 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.965e-05/0.006278, allocations: 33.69 kB / 0.8438 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.006302, allocations: 55.34 kB / 0.8439 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.369e-05/0.006355, allocations: 118.8 kB / 0.844 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.006367, allocations: 25.7 kB / 0.844 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.006399, allocations: 91.97 kB / 0.8441 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.006403, allocations: 0 / 0.8441 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.006425, allocations: 13.72 kB / 0.8441 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.006492, allocations: 326.8 kB / 0.8445 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-06/0.006497, allocations: 0 / 0.8445 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.006511, allocations: 13.72 kB / 0.8445 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.006533, allocations: 16.55 kB / 0.8445 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006535, allocations: 4 kB / 0.8445 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.213e-05/0.006577, allocations: 45.62 kB / 0.8445 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.006588, allocations: 7.938 kB / 0.8445 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006592, allocations: 0 / 0.8445 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.006604, allocations: 4 kB / 0.8445 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.701e-05/0.006631, allocations: 7.984 kB / 0.8445 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006633, allocations: 0 / 0.8445 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.006645, allocations: 0 / 0.8445 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-06/0.006653, allocations: 4 kB / 0.8446 GB, free: 7.91 MB / 0.8073 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 4.548e-05/0.006699, allocations: 108.7 kB / 0.8447 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.006713, allocations: 15.88 kB / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/0.006786, allocations: 124.9 kB / 0.8448 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.464e-05/0.006821, allocations: 180.3 kB / 0.845 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.612e-05/0.006857, allocations: 180.2 kB / 0.8451 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/0.006893, allocations: 176.3 kB / 0.8453 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.00701, allocations: 325.4 kB / 0.8456 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.369e-05/0.007033, allocations: 109 kB / 0.8457 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.007054, allocations: 101 kB / 0.8458 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-05/0.007091, allocations: 180.2 kB / 0.846 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.00713, allocations: 184.3 kB / 0.8462 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-05/0.00717, allocations: 192.1 kB / 0.8463 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.411e-05/0.007214, allocations: 176.3 kB / 0.8465 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.392e-05/0.007308, allocations: 303.8 kB / 0.8468 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.007337, allocations: 109 kB / 0.8469 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.007392, allocations: 184.5 kB / 0.8471 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.007477, allocations: 108.9 kB / 0.8472 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.007527, allocations: 192.1 kB / 0.8474 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.007553, allocations: 105 kB / 0.8475 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.82e-05/0.007572, allocations: 8.859 kB / 0.8475 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007572, allocations: 0 / 0.8475 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001406/0.007712, allocations: 19.94 kB / 0.8475 GB, free: 4.723 MB / 0.8073 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.0001295/0.007842, allocations: 179.6 kB / 0.8477 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.847e-05/0.00789, allocations: 21.06 kB / 0.8477 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.007893, allocations: 0 / 0.8477 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.007894, allocations: 0 / 0.8477 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.008113, allocations: 461.4 kB / 0.8481 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.008501, allocations: 194.8 kB / 0.8483 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.66e-05/0.008538, allocations: 63.28 kB / 0.8484 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.033e-05/0.008588, allocations: 11.92 kB / 0.8484 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.008659, allocations: 55.36 kB / 0.8484 GB, free: 3.695 MB / 0.8073 GB Notification: Performance of SimCode: time 1.282e-06/0.008661, allocations: 0 / 0.8484 GB, free: 3.695 MB / 0.8073 GB Notification: Performance of Templates: time 0.002108/0.01077, allocations: 0.7424 MB / 0.8492 GB, free: 2.961 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.180978832766414]