Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002368/0.002368, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001347/0.001347, allocations: 169 kB / 23.02 MB, free: 1.543 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 1.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.054/2.054, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8781 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.447e-05, allocations: 3.375 kB / 0.8781 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004149/0.004174, allocations: 3.909 MB / 0.882 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001506/0.004324, allocations: 160.8 kB / 0.8821 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.004346, allocations: 1.594 kB / 0.8821 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.004456, allocations: 7.922 kB / 0.8821 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.004532, allocations: 7.938 kB / 0.8821 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.004837, allocations: 91.61 kB / 0.8822 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.004919, allocations: 39.84 kB / 0.8823 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.004954, allocations: 0 / 0.8823 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.005004, allocations: 19.97 kB / 0.8823 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.005068, allocations: 7.984 kB / 0.8823 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.005082, allocations: 4 kB / 0.8823 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004215/0.005504, allocations: 191.2 kB / 0.8825 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.005543, allocations: 11.98 kB / 0.8825 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.005564, allocations: 4 kB / 0.8825 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.005685, allocations: 67.8 kB / 0.8825 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005687, allocations: 0 / 0.8825 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005688, allocations: 0 / 0.8825 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.005692, allocations: 0 / 0.8825 GB, free: 0.75 MB / 0.7917 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.0003182/0.006011, allocations: 364.5 kB / 0.8829 GB, free: 368 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.006045, allocations: 12.03 kB / 0.8829 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.006088, allocations: 0.9375 kB / 0.8829 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.006172, allocations: 112.6 kB / 0.883 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/0.006236, allocations: 55.97 kB / 0.8831 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.006248, allocations: 8.359 kB / 0.8831 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.006371, allocations: 76.66 kB / 0.8831 GB, free: 48 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.006377, allocations: 192 / 0.8831 GB, free: 48 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.00639, allocations: 7.938 kB / 0.8832 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.006414, allocations: 0 / 0.8832 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.006438, allocations: 7.984 kB / 0.8832 GB, free: 32 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.006786, allocations: 259.7 kB / 0.8834 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.723e-05/0.006823, allocations: 23.06 kB / 0.8834 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.006841, allocations: 19.72 kB / 0.8834 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.00688, allocations: 8 kB / 0.8835 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.006902, allocations: 37.39 kB / 0.8835 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.006903, allocations: 0 / 0.8835 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.007024, allocations: 41.59 kB / 0.8835 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.00705, allocations: 55.39 kB / 0.8836 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.169e-05/0.007132, allocations: 161.9 kB / 0.8837 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.007146, allocations: 25.7 kB / 0.8838 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.007199, allocations: 134.8 kB / 0.8839 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-06/0.007204, allocations: 3.984 kB / 0.8839 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.007229, allocations: 27.5 kB / 0.8839 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.007343, allocations: 496.1 kB / 0.8844 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.007352, allocations: 3.938 kB / 0.8844 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.007372, allocations: 23.36 kB / 0.8844 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/0.007401, allocations: 31.31 kB / 0.8845 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.007403, allocations: 0 / 0.8845 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.368e-05/0.007456, allocations: 49.62 kB / 0.8845 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.007468, allocations: 4 kB / 0.8845 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007473, allocations: 4.062 kB / 0.8845 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.007486, allocations: 4 kB / 0.8845 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.545e-05/0.007522, allocations: 7.938 kB / 0.8845 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.007527, allocations: 0 / 0.8845 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.007539, allocations: 3.953 kB / 0.8845 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.007548, allocations: 4 kB / 0.8845 GB, free: 14.48 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 6.013e-05/0.007608, allocations: 152.6 kB / 0.8847 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.007622, allocations: 7.938 kB / 0.8847 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.007728, allocations: 167.7 kB / 0.8848 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.14e-05/0.0078, allocations: 268 kB / 0.8851 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.76e-05/0.007867, allocations: 268.1 kB / 0.8853 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.564e-05/0.007933, allocations: 276.1 kB / 0.8856 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.00811, allocations: 499.9 kB / 0.8861 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/0.008142, allocations: 144.9 kB / 0.8862 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.008176, allocations: 152.8 kB / 0.8864 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-05/0.008235, allocations: 268 kB / 0.8866 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.008298, allocations: 284 kB / 0.8869 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-05/0.008353, allocations: 264.1 kB / 0.8872 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.156e-05/0.008415, allocations: 268.1 kB / 0.8874 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.008546, allocations: 444 kB / 0.8878 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.008587, allocations: 160.8 kB / 0.888 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.008666, allocations: 272 kB / 0.8882 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.008763, allocations: 152.9 kB / 0.8884 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.00883, allocations: 268 kB / 0.8886 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.008864, allocations: 144.9 kB / 0.8888 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.008905, allocations: 127.2 kB / 0.8889 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008905, allocations: 0 / 0.8889 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001757/0.009081, allocations: 23.92 kB / 0.8889 GB, free: 9.773 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.0001507/0.009232, allocations: 234.3 kB / 0.8892 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.231e-05/0.009304, allocations: 23.62 kB / 0.8892 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009306, allocations: 0 / 0.8892 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.009307, allocations: 0 / 0.8892 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.009647, allocations: 0.714 MB / 0.8899 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.01006, allocations: 233.5 kB / 0.8901 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.149e-05/0.01009, allocations: 51.36 kB / 0.8901 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.01013, allocations: 10.5 kB / 0.8902 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.01015, allocations: 16.48 kB / 0.8902 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.01015, allocations: 0 / 0.8902 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of Templates: time 0.002329/0.01248, allocations: 0.745 MB / 0.8909 GB, free: 7.711 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.147414413280785]