Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001114/0.001114, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001221/0.001221, allocations: 170 kB / 24.86 MB, free: 9.289 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.9609/0.9609, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.908/1.908, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.415e-05, allocations: 3.344 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004127/0.004151, allocations: 3.837 MB / 0.792 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001409/0.004292, allocations: 156.3 kB / 0.7922 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.004314, allocations: 1.344 kB / 0.7922 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.407e-05/0.004408, allocations: 7.938 kB / 0.7922 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.004476, allocations: 11.91 kB / 0.7922 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.004732, allocations: 89.56 kB / 0.7923 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.326e-05/0.004805, allocations: 35.84 kB / 0.7923 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.004841, allocations: 1.188 kB / 0.7923 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.004889, allocations: 19.97 kB / 0.7923 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.004953, allocations: 19.92 kB / 0.7923 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.004968, allocations: 5.344 kB / 0.7923 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.005378, allocations: 199.1 kB / 0.7925 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.005413, allocations: 17.3 kB / 0.7926 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.005428, allocations: 4 kB / 0.7926 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.005535, allocations: 67.78 kB / 0.7926 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005538, allocations: 5.281 kB / 0.7926 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.01e-07/0.005538, allocations: 0 / 0.7926 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.005542, allocations: 4 kB / 0.7926 GB, free: 7.797 MB / 0.7448 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.0002812/0.005823, allocations: 352.3 kB / 0.793 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.005852, allocations: 8.688 kB / 0.793 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.005884, allocations: 9.953 kB / 0.793 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.373e-05/0.005967, allocations: 112.5 kB / 0.7931 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.006016, allocations: 60.78 kB / 0.7931 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.006023, allocations: 384 / 0.7931 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.008e-05/0.006113, allocations: 77.59 kB / 0.7932 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.006119, allocations: 192 / 0.7932 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.006127, allocations: 9.094 kB / 0.7932 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.006144, allocations: 0 / 0.7932 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.00616, allocations: 4 kB / 0.7932 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.00642, allocations: 245.3 kB / 0.7935 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.921e-05/0.006449, allocations: 27.09 kB / 0.7935 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.23e-05/0.006461, allocations: 13.97 kB / 0.7935 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.006492, allocations: 4 kB / 0.7935 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.006514, allocations: 41.27 kB / 0.7936 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.006515, allocations: 0 / 0.7936 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 9.565e-05/0.00661, allocations: 33.7 kB / 0.7936 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.006637, allocations: 58.58 kB / 0.7936 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.006704, allocations: 165.9 kB / 0.7938 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.006713, allocations: 29.7 kB / 0.7938 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.006758, allocations: 130.8 kB / 0.794 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.006764, allocations: 11.88 kB / 0.794 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.006786, allocations: 19.38 kB / 0.794 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.006897, allocations: 496.1 kB / 0.7945 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-06/0.006903, allocations: 4 kB / 0.7945 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/0.00692, allocations: 28.45 kB / 0.7945 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.006942, allocations: 23.38 kB / 0.7945 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.006944, allocations: 0.5625 kB / 0.7945 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.929e-05/0.006993, allocations: 50.62 kB / 0.7946 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.007003, allocations: 8 kB / 0.7946 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.007007, allocations: 1.344 kB / 0.7946 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.007015, allocations: 0 / 0.7946 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.32e-05/0.007038, allocations: 4 kB / 0.7946 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.007041, allocations: 0 / 0.7946 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/0.007054, allocations: 5.094 kB / 0.7946 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.00706, allocations: 4 kB / 0.7946 GB, free: 5.586 MB / 0.7448 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.675e-05/0.007117, allocations: 157.2 kB / 0.7947 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.007134, allocations: 7.891 kB / 0.7947 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.331e-05/0.007217, allocations: 177.2 kB / 0.7949 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.848e-05/0.007276, allocations: 264.1 kB / 0.7952 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.906e-05/0.007335, allocations: 272 kB / 0.7954 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.855e-05/0.007393, allocations: 275.6 kB / 0.7957 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.007556, allocations: 484.6 kB / 0.7961 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/0.00759, allocations: 148.8 kB / 0.7963 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.007624, allocations: 144.9 kB / 0.7964 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.681e-05/0.007691, allocations: 276 kB / 0.7967 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.007751, allocations: 264.1 kB / 0.7969 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-05/0.007809, allocations: 272 kB / 0.7972 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.946e-05/0.007868, allocations: 276 kB / 0.7975 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.007985, allocations: 444 kB / 0.7979 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.008024, allocations: 149.8 kB / 0.798 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.008089, allocations: 264.1 kB / 0.7983 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.008181, allocations: 156.8 kB / 0.7984 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.008243, allocations: 269.1 kB / 0.7987 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.008276, allocations: 152.8 kB / 0.7988 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.008312, allocations: 123.2 kB / 0.7989 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008312, allocations: 1.125 kB / 0.7989 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001628/0.008475, allocations: 19.94 kB / 0.799 GB, free: 0.9141 MB / 0.7448 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.0001329/0.008608, allocations: 243.5 kB / 0.7992 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.238e-05/0.00866, allocations: 11.69 kB / 0.7992 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.008661, allocations: 0.875 kB / 0.7992 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.008662, allocations: 0 / 0.7992 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.008987, allocations: 0.72 MB / 0.7999 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.009285, allocations: 227.6 kB / 0.8001 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.994e-05/0.009315, allocations: 55.3 kB / 0.8002 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.611e-05/0.009341, allocations: 10.94 kB / 0.8002 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.009403, allocations: 86.17 kB / 0.8003 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/0.009404, allocations: 0 / 0.8003 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of Templates: time 0.002045/0.01145, allocations: 0.7697 MB / 0.801 GB, free: 14.75 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.272282592020929]