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.001344/0.001344, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001466/0.001466, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.688/2.688, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 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.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: 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.002117/0.002117, allocations: 67.89 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005181/0.3332, allocations: 3.215 MB / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001083/0.3333, allocations: 59.73 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.3333, allocations: 0 / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.091e-05/0.3334, allocations: 11.92 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.3335, allocations: 3.938 kB / 1.121 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.334, allocations: 206.3 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.334, allocations: 31.84 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 2.694e-05/0.3341, allocations: 8 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.3341, allocations: 15.98 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.3342, allocations: 11.92 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.3342, allocations: 4 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.3345, allocations: 127.6 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.3345, allocations: 11.97 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.3345, allocations: 4 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.3348, allocations: 135.6 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3348, allocations: 0 / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3348, allocations: 0 / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.3348, allocations: 0 / 1.121 GB, free: 14.7 MB / 1.076 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.0003705/0.3351, allocations: 274.2 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.3352, allocations: 8.031 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.3352, allocations: 4.922 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/0.3353, allocations: 106.5 kB / 1.122 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.3354, allocations: 51.97 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3354, allocations: 8.359 kB / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3355, allocations: 79.27 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.3355, allocations: 0 / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3355, allocations: 0 / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.3355, allocations: 0 / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.3356, allocations: 19.98 kB / 1.122 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.336, allocations: 240.5 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.838e-05/0.3361, allocations: 14.58 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.3361, allocations: 16.86 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.886e-05/0.3362, allocations: 35.97 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3362, allocations: 30.56 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3362, allocations: 0 / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.3364, allocations: 45.64 kB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3364, allocations: 51.41 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.3365, allocations: 101.8 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3365, allocations: 33.69 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.3366, allocations: 84.09 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-06/0.3366, allocations: 3.984 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.3366, allocations: 17.72 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3367, allocations: 322.8 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.3367, allocations: 7.984 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.3368, allocations: 13.72 kB / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.3368, allocations: 25.66 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3368, allocations: 0 / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.578e-05/0.3369, allocations: 53.58 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.3369, allocations: 4 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3369, allocations: 4 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.3369, allocations: 4.062 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.015e-05/0.337, allocations: 7.984 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.337, allocations: 0 / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.337, allocations: 4 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.337, allocations: 0 / 1.123 GB, free: 12.86 MB / 1.076 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 7.951e-05/0.3371, allocations: 117.8 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.3371, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.3372, allocations: 120.9 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.057e-05/0.3373, allocations: 176.3 kB / 1.123 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.448e-05/0.3374, allocations: 188.2 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/0.3374, allocations: 188.2 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.3377, allocations: 360.7 kB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.271e-05/0.3377, allocations: 101 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.3377, allocations: 101 kB / 1.124 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.3378, allocations: 188.2 kB / 1.124 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-05/0.3379, allocations: 176.3 kB / 1.124 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.814e-05/0.338, allocations: 184.2 kB / 1.125 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.134e-05/0.3381, allocations: 180.3 kB / 1.125 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.3383, allocations: 312 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.3384, allocations: 112.9 kB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.3385, allocations: 188.2 kB / 1.125 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.3387, allocations: 105 kB / 1.125 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.3387, allocations: 180.2 kB / 1.126 GB, free: 9.766 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.479e-05/0.3388, allocations: 112.9 kB / 1.126 GB, free: 9.648 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.3389, allocations: 79.28 kB / 1.126 GB, free: 9.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.3389, allocations: 0 / 1.126 GB, free: 9.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003073/0.3392, allocations: 39.86 kB / 1.126 GB, free: 9.531 MB / 1.076 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.000337/0.3395, allocations: 230.3 kB / 1.126 GB, free: 9.297 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.3396, allocations: 12 kB / 1.126 GB, free: 9.285 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3396, allocations: 0 / 1.126 GB, free: 9.285 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-06/0.3396, allocations: 3.938 kB / 1.126 GB, free: 9.281 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006298/0.3402, allocations: 459.6 kB / 1.127 GB, free: 8.828 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.3406, allocations: 190.3 kB / 1.127 GB, free: 8.613 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.977e-05/0.3406, allocations: 59.34 kB / 1.127 GB, free: 8.535 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.16e-05/0.3407, allocations: 7.094 kB / 1.127 GB, free: 8.531 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.3407, allocations: 16.44 kB / 1.127 GB, free: 8.516 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.3407, allocations: 0 / 1.127 GB, free: 8.516 MB / 1.076 GB Notification: Performance of Templates: time 0.004226/0.3449, allocations: 1.25 MB / 1.128 GB, free: 7.32 MB / 1.076 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 -s ida -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/jenkins1/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.624609477934428]