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.001538/0.001538, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001785/0.001785, allocations: 221 kB / 23.01 MB, free: 4.609 MB / 14.72 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.715/2.715, allocations: 476.7 MB / 0.7714 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 64.27 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005935/0.3494, allocations: 3.827 MB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002364/0.3497, allocations: 171.5 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.3497, allocations: 0 / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.3498, allocations: 3.938 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.3499, allocations: 11.92 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.3502, allocations: 83.75 kB / 1.289 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.891e-05/0.3503, allocations: 31.84 kB / 1.289 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.3503, allocations: 4 kB / 1.289 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.3504, allocations: 19.97 kB / 1.289 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.3505, allocations: 15.92 kB / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3505, allocations: 0 / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006387/0.3511, allocations: 235.3 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.3511, allocations: 7.984 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.3512, allocations: 19.86 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.3513, allocations: 67.8 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3513, allocations: 0 / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3513, allocations: 0 / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3513, allocations: 0 / 1.289 GB, free: 6.781 MB / 0.9825 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.0003944/0.3517, allocations: 266.3 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3518, allocations: 8.031 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3518, allocations: 0.9375 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3519, allocations: 106.5 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.352, allocations: 55.97 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.352, allocations: 4.375 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3522, allocations: 53.55 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3522, allocations: 0 / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3522, allocations: 3.984 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.3522, allocations: 0 / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.3523, allocations: 19.98 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.3527, allocations: 231.9 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/0.3527, allocations: 18.58 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.3528, allocations: 4.859 kB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.3528, allocations: 8.062 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.3528, allocations: 42.48 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3528, allocations: 0 / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001477/0.353, allocations: 41.66 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.353, allocations: 55.53 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.3531, allocations: 101.8 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3531, allocations: 25.7 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.3532, allocations: 88.09 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/0.3532, allocations: 0 / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.3532, allocations: 17.72 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3534, allocations: 318.8 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.3534, allocations: 4 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.3534, allocations: 21.66 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.3535, allocations: 21.7 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3535, allocations: 0 / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.818e-05/0.3535, allocations: 49.64 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3535, allocations: 4 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3536, allocations: 0 / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3536, allocations: 64 / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.3536, allocations: 15.98 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3536, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.3536, allocations: 3.953 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3536, allocations: 4 kB / 1.29 GB, free: 5.012 MB / 0.9825 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 8.628e-05/0.3537, allocations: 117.7 kB / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3538, allocations: 3.938 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.3539, allocations: 125 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.076e-05/0.354, allocations: 180.3 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.057e-05/0.354, allocations: 184.2 kB / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.643e-05/0.3541, allocations: 180.3 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.3544, allocations: 376.2 kB / 1.292 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-05/0.3544, allocations: 104.9 kB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.3544, allocations: 113 kB / 1.292 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/0.3545, allocations: 188.2 kB / 1.292 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/0.3546, allocations: 180.2 kB / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.923e-05/0.3547, allocations: 176.3 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-05/0.3548, allocations: 180.2 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3549, allocations: 315.7 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.355, allocations: 105 kB / 1.293 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.3551, allocations: 176.3 kB / 1.293 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3552, allocations: 112.9 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.3553, allocations: 180.3 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.3554, allocations: 108.9 kB / 1.293 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.3554, allocations: 91.27 kB / 1.294 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3554, allocations: 0 / 1.294 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002555/0.3557, allocations: 15.94 kB / 1.294 GB, free: 1.672 MB / 0.9825 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.0002075/0.3559, allocations: 196 kB / 1.294 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.078e-05/0.3559, allocations: 4 kB / 1.294 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.356, allocations: 0 / 1.294 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.356, allocations: 8.062 kB / 1.294 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.3564, allocations: 469.1 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.3567, allocations: 207.8 kB / 1.294 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.357, allocations: 0.6729 MB / 1.295 GB, free: 68 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.357, allocations: 11.44 kB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.357, allocations: 0 / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of Templates: time 0.002313/0.3593, allocations: 0.7321 MB / 1.296 GB, free: 15.33 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.884470813994994]