Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0009734/0.0009734, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.001068/0.001068, allocations: 165 kB / 24.17 MB, free: 324 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 1.075/1.075, allocations: 177.1 MB / 204.6 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.875/1.875, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.505e-05, allocations: 5.125 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004061/0.004076, allocations: 3.915 MB / 0.7638 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001557/0.004231, allocations: 156 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.004248, allocations: 1.156 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.547e-05/0.004344, allocations: 11.92 kB / 0.764 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.00441, allocations: 3.938 kB / 0.764 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.004659, allocations: 89.58 kB / 0.7641 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.22e-05/0.004731, allocations: 38.59 kB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.004765, allocations: 0 / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.004818, allocations: 23.97 kB / 0.7642 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.004879, allocations: 7.984 kB / 0.7642 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.004891, allocations: 7.938 kB / 0.7642 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.005326, allocations: 207.4 kB / 0.7644 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.005363, allocations: 11.91 kB / 0.7644 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.00538, allocations: 8.625 kB / 0.7644 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.00549, allocations: 63.86 kB / 0.7645 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005492, allocations: 2.125 kB / 0.7645 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005492, allocations: 0 / 0.7645 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.005496, allocations: 0 / 0.7645 GB, free: 2.121 MB / 0.7136 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.000241/0.005737, allocations: 232.6 kB / 0.7647 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.005766, allocations: 8.031 kB / 0.7647 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.00582, allocations: 15.31 kB / 0.7647 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.353e-05/0.005904, allocations: 110.1 kB / 0.7648 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.005958, allocations: 55.91 kB / 0.7649 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.005968, allocations: 4.359 kB / 0.7649 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.006078, allocations: 83.48 kB / 0.7649 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.006085, allocations: 192 / 0.7649 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.006093, allocations: 6.062 kB / 0.7649 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.006112, allocations: 0 / 0.7649 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.00613, allocations: 4 kB / 0.7649 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.006375, allocations: 173.9 kB / 0.7651 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.519e-05/0.0064, allocations: 22.58 kB / 0.7651 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-06/0.006409, allocations: 5.891 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.006442, allocations: 4.062 kB / 0.7651 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.006464, allocations: 39.44 kB / 0.7652 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.006465, allocations: 0 / 0.7652 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 8.464e-05/0.00655, allocations: 40.06 kB / 0.7652 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.006571, allocations: 51.41 kB / 0.7653 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.006628, allocations: 106.7 kB / 0.7654 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.006637, allocations: 25.7 kB / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.006671, allocations: 88.08 kB / 0.7655 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-06/0.006675, allocations: 3.938 kB / 0.7655 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.006718, allocations: 20.16 kB / 0.7655 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.837e-05/0.006806, allocations: 318.8 kB / 0.7658 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-06/0.006812, allocations: 0 / 0.7658 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.006827, allocations: 13.72 kB / 0.7658 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.006852, allocations: 24.47 kB / 0.7658 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.006854, allocations: 1.344 kB / 0.7658 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.313e-05/0.006897, allocations: 41.69 kB / 0.7659 GB, free: 488 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.00691, allocations: 7.938 kB / 0.7659 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.006914, allocations: 1.969 kB / 0.7659 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.006927, allocations: 4 kB / 0.7659 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-05/0.006959, allocations: 11.92 kB / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.006962, allocations: 0 / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.006975, allocations: 3.953 kB / 0.7659 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.006982, allocations: 4.719 kB / 0.7659 GB, free: 456 kB / 0.7136 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.787e-05/0.00703, allocations: 113.3 kB / 0.766 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.007045, allocations: 7.938 kB / 0.766 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/0.007126, allocations: 117.7 kB / 0.7661 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.905e-05/0.007175, allocations: 184.8 kB / 0.7663 GB, free: 16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.995e-05/0.007215, allocations: 180.3 kB / 0.7665 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.253e-05/0.007258, allocations: 188.9 kB / 0.7667 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.007377, allocations: 318 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-05/0.007401, allocations: 101 kB / 0.7671 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.007426, allocations: 105.5 kB / 0.7672 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.133e-05/0.007468, allocations: 181.3 kB / 0.7673 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.007509, allocations: 188.2 kB / 0.7675 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.821e-05/0.007548, allocations: 181.7 kB / 0.7677 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.08e-05/0.007588, allocations: 184.2 kB / 0.7679 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.172e-05/0.00768, allocations: 311.8 kB / 0.7682 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.00771, allocations: 112.9 kB / 0.7683 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.007755, allocations: 177.4 kB / 0.7684 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.007834, allocations: 108.9 kB / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.007874, allocations: 184.2 kB / 0.7687 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.007896, allocations: 101.7 kB / 0.7688 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.334e-05/0.007909, allocations: 12.86 kB / 0.7688 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007909, allocations: 0.6562 kB / 0.7688 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001395/0.008049, allocations: 19.94 kB / 0.7689 GB, free: 13.26 MB / 0.7292 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.0001167/0.008165, allocations: 169.9 kB / 0.769 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.871e-05/0.008214, allocations: 24.77 kB / 0.769 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.008217, allocations: 0 / 0.769 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.008218, allocations: 0 / 0.769 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.008431, allocations: 464.5 kB / 0.7695 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.008729, allocations: 189.3 kB / 0.7697 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.158e-05/0.00876, allocations: 59.2 kB / 0.7697 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.008785, allocations: 6.75 kB / 0.7697 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.008842, allocations: 59.36 kB / 0.7698 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.008843, allocations: 0 / 0.7698 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.00205/0.01089, allocations: 0.7553 MB / 0.7705 GB, free: 11.53 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 4.9891624469310045]