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.001536/0.001536, allocations: 84.41 kB / 20.23 MB, free: 4.191 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.002155/0.002155, allocations: 157.7 kB / 23.54 MB, free: 0.8867 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.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.88/2.88, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.473e-06/1.473e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.696e-05/3.843e-05, allocations: 5.125 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006658/0.006697, allocations: 3.621 MB / 0.7899 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002727/0.006969, allocations: 145.5 kB / 0.79 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.006993, allocations: 0 / 0.79 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.007124, allocations: 4 kB / 0.79 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.0072, allocations: 12.59 kB / 0.79 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.0076, allocations: 89.22 kB / 0.7901 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.592e-05/0.007696, allocations: 35.84 kB / 0.7902 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.007735, allocations: 4.578 kB / 0.7902 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.007801, allocations: 25.3 kB / 0.7902 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.007871, allocations: 7.984 kB / 0.7902 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.007888, allocations: 4 kB / 0.7902 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.008592, allocations: 209 kB / 0.7904 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.008638, allocations: 4 kB / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.008672, allocations: 11.98 kB / 0.7904 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.008849, allocations: 67.73 kB / 0.7905 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.008851, allocations: 0.5 kB / 0.7905 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.008852, allocations: 2.094 kB / 0.7905 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.008856, allocations: 0 / 0.7905 GB, free: 8.641 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.0004493/0.009305, allocations: 258.3 kB / 0.7907 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.009341, allocations: 8.031 kB / 0.7907 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.009396, allocations: 4.922 kB / 0.7907 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.009515, allocations: 110.3 kB / 0.7908 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.733e-05/0.009602, allocations: 51.97 kB / 0.7909 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.009616, allocations: 5.094 kB / 0.7909 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.009778, allocations: 72.39 kB / 0.791 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.009788, allocations: 192 / 0.791 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.009802, allocations: 5.031 kB / 0.791 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.009934, allocations: 4 kB / 0.791 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.951e-05/0.009994, allocations: 15.98 kB / 0.791 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.01043, allocations: 201.4 kB / 0.7912 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.01049, allocations: 27.02 kB / 0.7912 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.01051, allocations: 12.78 kB / 0.7912 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.01057, allocations: 4.906 kB / 0.7912 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.0106, allocations: 36.66 kB / 0.7913 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.01061, allocations: 0 / 0.7913 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.01078, allocations: 29.7 kB / 0.7913 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.01083, allocations: 59.41 kB / 0.7913 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.01094, allocations: 97.84 kB / 0.7914 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.01096, allocations: 26.23 kB / 0.7915 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.01103, allocations: 94.66 kB / 0.7916 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.01104, allocations: 7.891 kB / 0.7916 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.01107, allocations: 17.7 kB / 0.7916 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.01124, allocations: 314.8 kB / 0.7919 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.01126, allocations: 4 kB / 0.7919 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.01129, allocations: 21.83 kB / 0.7919 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.682e-05/0.01134, allocations: 23.44 kB / 0.7919 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01134, allocations: 0 / 0.7919 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.651e-05/0.01144, allocations: 53.56 kB / 0.792 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01145, allocations: 5.125 kB / 0.792 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01146, allocations: 4.094 kB / 0.792 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.01148, allocations: 3.984 kB / 0.792 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.577e-05/0.01153, allocations: 5.156 kB / 0.792 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01153, allocations: 0 / 0.792 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.01155, allocations: 8 kB / 0.792 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.01156, allocations: 1.688 kB / 0.792 GB, free: 6.895 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 9.606e-05/0.01166, allocations: 113.8 kB / 0.7921 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.01169, allocations: 7.875 kB / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.01184, allocations: 124.2 kB / 0.7922 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.751e-05/0.01194, allocations: 176.3 kB / 0.7924 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/0.01204, allocations: 188.8 kB / 0.7926 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.151e-05/0.01213, allocations: 176.3 kB / 0.7928 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.0124, allocations: 361.9 kB / 0.7931 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.004e-05/0.01246, allocations: 105 kB / 0.7932 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.01252, allocations: 101 kB / 0.7933 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.01262, allocations: 188.8 kB / 0.7935 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.01273, allocations: 181.2 kB / 0.7936 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-05/0.01282, allocations: 180.2 kB / 0.7938 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001028/0.01293, allocations: 180.3 kB / 0.794 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.01313, allocations: 307.5 kB / 0.7943 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.0132, allocations: 112.9 kB / 0.7944 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.01331, allocations: 180.2 kB / 0.7946 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.0135, allocations: 113 kB / 0.7947 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.01359, allocations: 176.3 kB / 0.7948 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.01367, allocations: 108.9 kB / 0.7949 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.594e-05/0.01374, allocations: 87.27 kB / 0.795 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01374, allocations: 0 / 0.795 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002587/0.01399, allocations: 15.94 kB / 0.795 GB, free: 3.609 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.0002309/0.01423, allocations: 195.6 kB / 0.7952 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.25e-05/0.0143, allocations: 15.88 kB / 0.7952 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.0143, allocations: 1.031 kB / 0.7952 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-06/0.0143, allocations: 3.984 kB / 0.7952 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.01483, allocations: 462.5 kB / 0.7957 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.01513, allocations: 180.1 kB / 0.7959 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.851e-05/0.0152, allocations: 59.67 kB / 0.7959 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.01524, allocations: 7.984 kB / 0.7959 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.01527, allocations: 12.5 kB / 0.7959 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01527, allocations: 0 / 0.7959 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of Templates: time 0.003603/0.01888, allocations: 0.6885 MB / 0.7966 GB, free: 1.961 MB / 0.7448 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=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/jenkins/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: 7.809704324929044]