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.001181/0.001181, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001394/0.001394, allocations: 161 kB / 24.17 MB, free: 332 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.014/1.014, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.884/1.884, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.472e-06/1.472e-06, allocations: 0.875 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.656e-05, allocations: 2.312 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004961/0.004978, allocations: 3.872 MB / 0.7638 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001878/0.005166, allocations: 157 kB / 0.7639 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.005185, allocations: 3.938 kB / 0.7639 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.585e-05/0.005281, allocations: 5.875 kB / 0.7639 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.005355, allocations: 11.91 kB / 0.7639 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.005641, allocations: 88.81 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.281e-05/0.005714, allocations: 27.86 kB / 0.764 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.005748, allocations: 4.516 kB / 0.764 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.005805, allocations: 23.92 kB / 0.7641 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.005869, allocations: 12.89 kB / 0.7641 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.00588, allocations: 0 / 0.7641 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.006356, allocations: 213.1 kB / 0.7643 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.006393, allocations: 7.984 kB / 0.7643 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.006413, allocations: 11.94 kB / 0.7643 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.006545, allocations: 63.8 kB / 0.7644 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.006547, allocations: 1.75 kB / 0.7644 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.006547, allocations: 4 kB / 0.7644 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.00655, allocations: 0 / 0.7644 GB, free: 2.223 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.0002815/0.006832, allocations: 232.6 kB / 0.7646 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.006865, allocations: 8.969 kB / 0.7646 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.006895, allocations: 12.92 kB / 0.7646 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.011e-05/0.006975, allocations: 106.1 kB / 0.7647 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.007037, allocations: 56.78 kB / 0.7648 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.007049, allocations: 384 / 0.7648 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.007154, allocations: 75.98 kB / 0.7648 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.007162, allocations: 11.19 kB / 0.7649 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.007172, allocations: 11.86 kB / 0.7649 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.007192, allocations: 0 / 0.7649 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.007213, allocations: 7.984 kB / 0.7649 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.007472, allocations: 161.9 kB / 0.765 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.842e-05/0.0075, allocations: 18.58 kB / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.223e-05/0.007512, allocations: 8.922 kB / 0.7651 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.007549, allocations: 14.45 kB / 0.7651 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.007578, allocations: 38.44 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.00758, allocations: 4 kB / 0.7651 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 8.678e-05/0.007666, allocations: 29.7 kB / 0.7651 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.007695, allocations: 51.41 kB / 0.7652 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.007758, allocations: 107.9 kB / 0.7653 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.007769, allocations: 25.7 kB / 0.7653 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.007808, allocations: 88.09 kB / 0.7654 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/0.007813, allocations: 3.938 kB / 0.7654 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.007846, allocations: 22.58 kB / 0.7654 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.007928, allocations: 314.8 kB / 0.7657 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/0.007936, allocations: 5.156 kB / 0.7657 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.007959, allocations: 17.66 kB / 0.7657 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.862e-05/0.007988, allocations: 23.91 kB / 0.7658 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.00799, allocations: 0 / 0.7658 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.02e-05/0.00805, allocations: 45.62 kB / 0.7658 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.008062, allocations: 7.938 kB / 0.7658 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.008066, allocations: 0 / 0.7658 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.008077, allocations: 0 / 0.7658 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.235e-05/0.008109, allocations: 8 kB / 0.7658 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.008111, allocations: 3.5 kB / 0.7658 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.008129, allocations: 3.953 kB / 0.7658 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.008135, allocations: 0 / 0.7658 GB, free: 0.5547 MB / 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 5.452e-05/0.008189, allocations: 116.7 kB / 0.7659 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.008211, allocations: 7.922 kB / 0.766 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.684e-05/0.008308, allocations: 116.9 kB / 0.7661 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.878e-05/0.008357, allocations: 180.3 kB / 0.7662 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.949e-05/0.008426, allocations: 188.2 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.153e-05/0.008478, allocations: 183.2 kB / 0.7666 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.008653, allocations: 317.4 kB / 0.7669 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/0.008686, allocations: 108.9 kB / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.008718, allocations: 109 kB / 0.7671 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-05/0.008767, allocations: 180.3 kB / 0.7673 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/0.008826, allocations: 180.3 kB / 0.7674 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.466e-05/0.008881, allocations: 184.2 kB / 0.7676 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.862e-05/0.008939, allocations: 180.2 kB / 0.7678 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.009061, allocations: 319.7 kB / 0.7681 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.009096, allocations: 101 kB / 0.7682 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.009153, allocations: 180.3 kB / 0.7684 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.00926, allocations: 112.8 kB / 0.7685 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.00931, allocations: 180.3 kB / 0.7686 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.00934, allocations: 104.9 kB / 0.7687 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.784e-05/0.009357, allocations: 16.84 kB / 0.7688 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009358, allocations: 0 / 0.7688 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002201/0.009578, allocations: 15.94 kB / 0.7688 GB, free: 13.36 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.0001416/0.009719, allocations: 176.4 kB / 0.7689 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.579e-05/0.009765, allocations: 8.859 kB / 0.769 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.009768, allocations: 6.094 kB / 0.769 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.009771, allocations: 3.938 kB / 0.769 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.01004, allocations: 463.7 kB / 0.7694 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.01039, allocations: 192.2 kB / 0.7696 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.01043, allocations: 55.22 kB / 0.7696 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.01046, allocations: 8.031 kB / 0.7696 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.01053, allocations: 64.34 kB / 0.7697 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.01053, allocations: 0 / 0.7697 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.002499/0.01303, allocations: 0.7542 MB / 0.7704 GB, free: 11.64 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 -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.988955019973218]