Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001577/0.001577, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001782/0.001782, allocations: 159.6 kB / 22.45 MB, free: 5.375 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.509/1.509, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 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.772/2.772, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.777e-05, allocations: 8.109 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.008761/0.008799, allocations: 3.218 MB / 0.9541 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001843/0.008983, allocations: 59.73 kB / 0.9542 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.009028, allocations: 0 / 0.9542 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.009185, allocations: 0 / 0.9542 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.009319, allocations: 15.86 kB / 0.9542 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.01042, allocations: 195.1 kB / 0.9544 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.01062, allocations: 43.78 kB / 0.9544 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.0107, allocations: 0 / 0.9544 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.01082, allocations: 19.98 kB / 0.9544 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.01095, allocations: 19.91 kB / 0.9545 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.01098, allocations: 0 / 0.9545 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006106/0.01159, allocations: 131.5 kB / 0.9546 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.01168, allocations: 11.98 kB / 0.9546 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.01172, allocations: 7.938 kB / 0.9546 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.01221, allocations: 123.7 kB / 0.9547 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01222, allocations: 0 / 0.9547 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.51e-07/0.01222, allocations: 4 kB / 0.9547 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.01223, allocations: 0 / 0.9547 GB, free: 7.711 MB / 0.8575 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.0007339/0.01296, allocations: 274.2 kB / 0.955 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.01302, allocations: 12.03 kB / 0.955 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.01308, allocations: 0.9375 kB / 0.955 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.01327, allocations: 109.8 kB / 0.9551 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.0134, allocations: 51.97 kB / 0.9552 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.01342, allocations: 384 / 0.9552 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.01365, allocations: 79.88 kB / 0.9552 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.01366, allocations: 192 / 0.9552 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.01368, allocations: 11.88 kB / 0.9552 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.01371, allocations: 0 / 0.9552 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.01377, allocations: 15.98 kB / 0.9553 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.01442, allocations: 248.5 kB / 0.9555 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/0.01448, allocations: 18.52 kB / 0.9555 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.0145, allocations: 8.797 kB / 0.9555 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.01462, allocations: 36.03 kB / 0.9556 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.01466, allocations: 34.56 kB / 0.9556 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.01466, allocations: 0 / 0.9556 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001991/0.01486, allocations: 37.7 kB / 0.9556 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.01491, allocations: 55.41 kB / 0.9557 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.01502, allocations: 105.8 kB / 0.9558 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.01505, allocations: 25.7 kB / 0.9558 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.01512, allocations: 92.09 kB / 0.9559 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.01512, allocations: 0 / 0.9559 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.01517, allocations: 21.64 kB / 0.9559 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.01532, allocations: 314.8 kB / 0.9562 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.01534, allocations: 4 kB / 0.9562 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.01536, allocations: 13.72 kB / 0.9562 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.01541, allocations: 29.83 kB / 0.9563 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01541, allocations: 0 / 0.9563 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.826e-05/0.01551, allocations: 53.53 kB / 0.9563 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.01553, allocations: 7.984 kB / 0.9563 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01554, allocations: 0 / 0.9563 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.01556, allocations: 4 kB / 0.9563 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/0.01562, allocations: 4 kB / 0.9563 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01562, allocations: 0 / 0.9563 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.01564, allocations: 0 / 0.9563 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.01566, allocations: 8.062 kB / 0.9563 GB, free: 5.867 MB / 0.8575 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.893e-05/0.01575, allocations: 109.8 kB / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.01579, allocations: 11.94 kB / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.01593, allocations: 128.2 kB / 0.9566 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.542e-05/0.01601, allocations: 176.3 kB / 0.9567 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.21e-05/0.0161, allocations: 180.2 kB / 0.9569 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001241/0.01622, allocations: 180.3 kB / 0.9571 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.01647, allocations: 356.9 kB / 0.9574 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.262e-05/0.01652, allocations: 104.9 kB / 0.9575 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.01657, allocations: 105 kB / 0.9576 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.01667, allocations: 192.1 kB / 0.9578 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.01678, allocations: 180.3 kB / 0.958 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.254e-05/0.01687, allocations: 180.2 kB / 0.9581 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.642e-05/0.01696, allocations: 184.3 kB / 0.9583 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.01719, allocations: 311.6 kB / 0.9586 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.01726, allocations: 108.9 kB / 0.9587 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.01739, allocations: 184.2 kB / 0.9589 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.01756, allocations: 109 kB / 0.959 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.01766, allocations: 176.3 kB / 0.9592 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.648e-05/0.01772, allocations: 112.9 kB / 0.9593 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.983e-05/0.01779, allocations: 87.28 kB / 0.9594 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01779, allocations: 0 / 0.9594 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003409/0.01813, allocations: 35.86 kB / 0.9594 GB, free: 2.547 MB / 0.8575 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.0003834/0.01851, allocations: 238.3 kB / 0.9596 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.01861, allocations: 7.984 kB / 0.9596 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01861, allocations: 0 / 0.9596 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.01863, allocations: 7.938 kB / 0.9596 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.01919, allocations: 459.7 kB / 0.9601 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.01957, allocations: 176 kB / 0.9602 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.677e-05/0.01965, allocations: 55.36 kB / 0.9603 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.01969, allocations: 16.11 kB / 0.9603 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.01972, allocations: 8.5 kB / 0.9603 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.01972, allocations: 0 / 0.9603 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of Templates: time 0.00498/0.0247, allocations: 1.273 MB / 0.9616 GB, free: 328 kB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: 8.178682792931795]