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.001029/0.001029, 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.000987/0.000987, 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.9773/0.9773, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.504/2.504, allocations: 438.8 MB / 0.6827 GB, free: 13.54 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.473e-06/1.473e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.647e-05, allocations: 8.359 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004279/0.004295, allocations: 4.225 MB / 0.8427 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.004452, allocations: 159.4 kB / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.004478, allocations: 0 / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.004584, allocations: 3.938 kB / 0.8429 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.092e-05/0.004665, allocations: 15.91 kB / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.004938, allocations: 83.69 kB / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.005018, allocations: 39.83 kB / 0.843 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.005058, allocations: 4 kB / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.00511, allocations: 19.92 kB / 0.843 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.00518, allocations: 15.97 kB / 0.843 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.005192, allocations: 0 / 0.843 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.005331, allocations: 51.75 kB / 0.8431 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.00537, allocations: 11.98 kB / 0.8431 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.397e-05/0.005384, allocations: 4 kB / 0.8431 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.005495, allocations: 63.86 kB / 0.8432 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005498, allocations: 7.938 kB / 0.8432 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005498, allocations: 0 / 0.8432 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.005502, allocations: 3.938 kB / 0.8432 GB, free: 9.414 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.0002382/0.00574, allocations: 232.6 kB / 0.8434 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.005771, allocations: 8.625 kB / 0.8434 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.005799, allocations: 8.938 kB / 0.8434 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.503e-05/0.005874, allocations: 109.8 kB / 0.8435 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.005917, allocations: 55.97 kB / 0.8436 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.005924, allocations: 384 / 0.8436 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.00602, allocations: 87.48 kB / 0.8437 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.006027, allocations: 192 / 0.8437 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.006036, allocations: 3.938 kB / 0.8437 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.006053, allocations: 0 / 0.8437 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.006072, allocations: 7.938 kB / 0.8437 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.006309, allocations: 165.9 kB / 0.8438 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.424e-05/0.006333, allocations: 14.58 kB / 0.8438 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-06/0.006343, allocations: 8.922 kB / 0.8439 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.006383, allocations: 8.031 kB / 0.8439 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.006406, allocations: 42.5 kB / 0.8439 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.006407, allocations: 0 / 0.8439 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 8.786e-05/0.006494, allocations: 33.64 kB / 0.8439 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.006517, allocations: 55.41 kB / 0.844 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.559e-05/0.006573, allocations: 110.6 kB / 0.8441 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.006582, allocations: 25.7 kB / 0.8441 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.006617, allocations: 92.03 kB / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-06/0.00662, allocations: 0 / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.006643, allocations: 17.7 kB / 0.8442 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.006711, allocations: 310.8 kB / 0.8445 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-06/0.006717, allocations: 8.125 kB / 0.8445 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.006738, allocations: 17.7 kB / 0.8445 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.006764, allocations: 28.47 kB / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006765, allocations: 0 / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.208e-05/0.006807, allocations: 37.7 kB / 0.8446 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.006821, allocations: 14.42 kB / 0.8446 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006826, allocations: 7.875 kB / 0.8446 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.006838, allocations: 0 / 0.8446 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.172e-05/0.00687, allocations: 12.06 kB / 0.8446 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.006874, allocations: 3.984 kB / 0.8446 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.006886, allocations: 0 / 0.8446 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.006894, allocations: 4 kB / 0.8446 GB, free: 7.727 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 5.254e-05/0.006946, allocations: 108.7 kB / 0.8448 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.006962, allocations: 3.938 kB / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.113e-05/0.007043, allocations: 124.9 kB / 0.8449 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.281e-05/0.007086, allocations: 188.2 kB / 0.8451 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-05/0.007126, allocations: 176.3 kB / 0.8452 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.194e-05/0.007168, allocations: 184.2 kB / 0.8454 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.007287, allocations: 317.5 kB / 0.8457 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.007309, allocations: 105 kB / 0.8458 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.007331, allocations: 109.2 kB / 0.8459 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.821e-05/0.007369, allocations: 184.2 kB / 0.8461 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.007403, allocations: 184.2 kB / 0.8463 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.149e-05/0.007435, allocations: 180.2 kB / 0.8464 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.553e-05/0.00747, allocations: 184.2 kB / 0.8466 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.163e-05/0.007552, allocations: 307.8 kB / 0.8469 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.007577, allocations: 104.9 kB / 0.847 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.007622, allocations: 184.5 kB / 0.8472 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.007702, allocations: 120.9 kB / 0.8473 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.007742, allocations: 180.3 kB / 0.8475 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.007762, allocations: 101 kB / 0.8476 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.396e-05/0.007776, allocations: 8.859 kB / 0.8476 GB, free: 4.566 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007776, allocations: 0 / 0.8476 GB, free: 4.566 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001338/0.00791, allocations: 15.94 kB / 0.8476 GB, free: 4.551 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.0001157/0.008026, allocations: 183.5 kB / 0.8478 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.98e-05/0.008076, allocations: 16.86 kB / 0.8478 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.008079, allocations: 0 / 0.8478 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.00808, allocations: 4.125 kB / 0.8478 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.008291, allocations: 459.7 kB / 0.8482 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.008584, allocations: 202.6 kB / 0.8484 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.589e-05/0.00861, allocations: 55.36 kB / 0.8485 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.281e-05/0.008633, allocations: 4 kB / 0.8485 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.008688, allocations: 63.34 kB / 0.8485 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of SimCode: time 8.01e-07/0.008689, allocations: 0 / 0.8485 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.001933/0.01062, allocations: 0.7427 MB / 0.8493 GB, free: 2.785 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 -s gbode -gbm=radauIIA3 -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.371202209964395]