Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 59.89 kB / 1.061 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9586/0.9613, allocations: 160.8 MB / 1.218 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007/0.9683, allocations: 3.787 MB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003284/0.9686, allocations: 154 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.9686, allocations: 3.938 kB / 1.222 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.9688, allocations: 4.859 kB / 1.222 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.9689, allocations: 15.02 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.9694, allocations: 78.75 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.9695, allocations: 33.48 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.9696, allocations: 8.906 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.9696, allocations: 9.344 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.9697, allocations: 26.56 kB / 1.222 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.9698, allocations: 2.219 kB / 1.222 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008425/0.9706, allocations: 216 kB / 1.223 GB, free: 408 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.9707, allocations: 6.922 kB / 1.223 GB, free: 404 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.9707, allocations: 16.06 kB / 1.223 GB, free: 392 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.9709, allocations: 45.16 kB / 1.223 GB, free: 376 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.9709, allocations: 1.062 kB / 1.223 GB, free: 376 kB / 0.92 GB Notification: Performance of FrontEnd: time 3.216e-06/0.9709, allocations: 0 / 1.223 GB, free: 376 kB / 0.92 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.9709, allocations: 0 / 1.223 GB, free: 376 kB / 0.92 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.0006347/0.9715, allocations: 332.1 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.9716, allocations: 13.67 kB / 1.223 GB, free: 4 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.9716, allocations: 1.875 kB / 1.223 GB, free: 4 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.9718, allocations: 161.5 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-05/0.9719, allocations: 32.42 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.9719, allocations: 1.5 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.9721, allocations: 42.03 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.9721, allocations: 4.875 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.9721, allocations: 3.984 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.9722, allocations: 5.094 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.9722, allocations: 13.55 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.9729, allocations: 353.5 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.71e-05/0.9729, allocations: 15.67 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.973, allocations: 5.922 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.9731, allocations: 86.72 kB / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.9731, allocations: 39.62 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.9731, allocations: 0 / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002385/0.9734, allocations: 32.2 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.9734, allocations: 56.78 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.9736, allocations: 103.3 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.9736, allocations: 25.7 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.9737, allocations: 85.56 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.9737, allocations: 0.8125 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.9737, allocations: 25.16 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002417/0.974, allocations: 315.9 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.974, allocations: 7.281 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.163e-05/0.974, allocations: 24.89 kB / 1.224 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.9741, allocations: 16.25 kB / 1.224 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9741, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.796e-05/0.9742, allocations: 51.09 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.9742, allocations: 5.094 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9742, allocations: 5.375 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.9742, allocations: 0 / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.9743, allocations: 5.344 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.9743, allocations: 1.094 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.9743, allocations: 5.031 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.9743, allocations: 1.062 kB / 1.225 GB, free: 14.38 MB / 0.9356 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 0.0001109/0.9744, allocations: 120 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.9744, allocations: 5.047 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.9746, allocations: 123.5 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.671e-05/0.9747, allocations: 180.3 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-05/0.9748, allocations: 185.4 kB / 1.225 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-05/0.9749, allocations: 181.4 kB / 1.225 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.9752, allocations: 404.5 kB / 1.226 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.369e-05/0.9753, allocations: 113.7 kB / 1.226 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.9753, allocations: 105.7 kB / 1.226 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.211e-05/0.9754, allocations: 181.3 kB / 1.226 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/0.9755, allocations: 181.3 kB / 1.226 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.359e-05/0.9756, allocations: 181.3 kB / 1.226 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.531e-05/0.9757, allocations: 181.3 kB / 1.227 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.9759, allocations: 320 kB / 1.227 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.976, allocations: 179.1 kB / 1.227 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.9761, allocations: 182.4 kB / 1.227 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.9763, allocations: 111.4 kB / 1.227 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.9764, allocations: 185.5 kB / 1.228 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.9764, allocations: 108.9 kB / 1.228 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.9765, allocations: 80.34 kB / 1.228 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.9765, allocations: 1.062 kB / 1.228 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000293/0.9768, allocations: 15.34 kB / 1.228 GB, free: 10.96 MB / 0.9356 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.0003307/0.9771, allocations: 208.6 kB / 1.228 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.986e-05/0.9772, allocations: 9.188 kB / 1.228 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9772, allocations: 1 kB / 1.228 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.9772, allocations: 0 / 1.228 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.9777, allocations: 468 kB / 1.228 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.978, allocations: 176.6 kB / 1.229 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.9783, allocations: 0.6755 MB / 1.229 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.9784, allocations: 4.875 kB / 1.229 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.9784, allocations: 9.75 kB / 1.229 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.9784, allocations: 0 / 1.229 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.003566/0.982, allocations: 0.661 MB / 1.23 GB, free: 9.078 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.074052480049431]