Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001445/0.001445, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001545/0.001545, allocations: 193.5 kB / 22.11 MB, free: 4.32 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.499/1.499, allocations: 225.6 MB / 250.8 MB, free: 2.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.016/3.016, allocations: 495.8 MB / 0.783 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 1.137 GB, free: 12.23 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38/1.382, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005757/1.388, allocations: 3.327 MB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001329/1.388, allocations: 52.59 kB / 1.31 GB, free: 31.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/1.388, allocations: 0 / 1.31 GB, free: 31.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/1.388, allocations: 3.234 kB / 1.31 GB, free: 31.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/1.388, allocations: 10.77 kB / 1.31 GB, free: 31.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007474/1.389, allocations: 207.8 kB / 1.31 GB, free: 31.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/1.389, allocations: 32.61 kB / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/1.389, allocations: 3.938 kB / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/1.389, allocations: 22.62 kB / 1.31 GB, free: 31.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/1.389, allocations: 13.53 kB / 1.31 GB, free: 31.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/1.389, allocations: 0 / 1.31 GB, free: 31.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/1.389, allocations: 138.6 kB / 1.31 GB, free: 31.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/1.389, allocations: 14.17 kB / 1.31 GB, free: 31.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/1.389, allocations: 5.25 kB / 1.31 GB, free: 31.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/1.39, allocations: 124.2 kB / 1.311 GB, free: 31.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/1.39, allocations: 0 / 1.311 GB, free: 31.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/1.39, allocations: 0 / 1.311 GB, free: 31.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.57e-06/1.39, allocations: 0 / 1.311 GB, free: 31.18 MB / 1.061 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.0003917/1.39, allocations: 270.3 kB / 1.311 GB, free: 30.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.39, allocations: 8.344 kB / 1.311 GB, free: 30.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/1.39, allocations: 7.688 kB / 1.311 GB, free: 30.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.794e-05/1.39, allocations: 110.5 kB / 1.311 GB, free: 30.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/1.39, allocations: 29.08 kB / 1.311 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/1.39, allocations: 384 / 1.311 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/1.391, allocations: 51.88 kB / 1.311 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.391, allocations: 3.469 kB / 1.311 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/1.391, allocations: 4 kB / 1.311 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/1.391, allocations: 0 / 1.311 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/1.391, allocations: 16.06 kB / 1.311 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/1.391, allocations: 271.8 kB / 1.311 GB, free: 30.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.624e-05/1.391, allocations: 14.58 kB / 1.311 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/1.391, allocations: 7.484 kB / 1.311 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/1.391, allocations: 40.39 kB / 1.311 GB, free: 30.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/1.391, allocations: 33.38 kB / 1.311 GB, free: 30.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/1.391, allocations: 4 kB / 1.311 GB, free: 30.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001648/1.392, allocations: 35.02 kB / 1.311 GB, free: 30.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/1.392, allocations: 51.41 kB / 1.312 GB, free: 30.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/1.392, allocations: 99.77 kB / 1.312 GB, free: 30.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/1.392, allocations: 29.03 kB / 1.312 GB, free: 30.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/1.392, allocations: 86.94 kB / 1.312 GB, free: 30.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/1.392, allocations: 7.953 kB / 1.312 GB, free: 30.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/1.392, allocations: 12.56 kB / 1.312 GB, free: 30.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/1.392, allocations: 325.1 kB / 1.312 GB, free: 29.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.851e-05/1.392, allocations: 6.844 kB / 1.312 GB, free: 29.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/1.392, allocations: 16.44 kB / 1.312 GB, free: 29.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/1.392, allocations: 22.62 kB / 1.312 GB, free: 29.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.392, allocations: 0 / 1.312 GB, free: 29.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.508e-05/1.392, allocations: 51.91 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.392, allocations: 6.188 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.392, allocations: 3.938 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.392, allocations: 0 / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/1.392, allocations: 9.531 kB / 1.312 GB, free: 29.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/1.392, allocations: 0 / 1.312 GB, free: 29.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/1.392, allocations: 0 / 1.312 GB, free: 29.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/1.392, allocations: 2.844 kB / 1.312 GB, free: 29.6 MB / 1.061 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 5.483e-05/1.392, allocations: 115.2 kB / 1.312 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/1.392, allocations: 6.219 kB / 1.312 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/1.392, allocations: 120.2 kB / 1.312 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.392, allocations: 179.5 kB / 1.313 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/1.392, allocations: 180.2 kB / 1.313 GB, free: 28.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/1.392, allocations: 179.5 kB / 1.313 GB, free: 28.81 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/1.393, allocations: 382.5 kB / 1.313 GB, free: 28.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.393, allocations: 108.9 kB / 1.313 GB, free: 28.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/1.393, allocations: 104.4 kB / 1.313 GB, free: 28.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-05/1.393, allocations: 187 kB / 1.314 GB, free: 27.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/1.393, allocations: 176.4 kB / 1.314 GB, free: 27.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.681e-05/1.393, allocations: 179 kB / 1.314 GB, free: 27.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-05/1.393, allocations: 195.7 kB / 1.314 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.256e-05/1.393, allocations: 306.8 kB / 1.314 GB, free: 27.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/1.393, allocations: 111.8 kB / 1.315 GB, free: 27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/1.393, allocations: 182.9 kB / 1.315 GB, free: 26.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/1.393, allocations: 112.9 kB / 1.315 GB, free: 26.7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/1.393, allocations: 182.6 kB / 1.315 GB, free: 26.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/1.393, allocations: 104.9 kB / 1.315 GB, free: 26.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.342e-05/1.393, allocations: 85.38 kB / 1.315 GB, free: 26.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.393, allocations: 0 / 1.315 GB, free: 26.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004641/1.394, allocations: 34.48 kB / 1.315 GB, free: 26.33 MB / 1.061 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.0002976/1.394, allocations: 241.9 kB / 1.315 GB, free: 26.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.544e-05/1.394, allocations: 9.562 kB / 1.315 GB, free: 26.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.394, allocations: 0 / 1.315 GB, free: 26.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/1.394, allocations: 11.16 kB / 1.315 GB, free: 26.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/1.395, allocations: 458.6 kB / 1.316 GB, free: 25.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/1.395, allocations: 169.5 kB / 1.316 GB, free: 25.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/1.395, allocations: 0.6749 MB / 1.317 GB, free: 24.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.764e-05/1.395, allocations: 10.06 kB / 1.317 GB, free: 24.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/1.395, allocations: 7.438 kB / 1.317 GB, free: 24.8 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.395, allocations: 0 / 1.317 GB, free: 24.8 MB / 1.061 GB Notification: Performance of Templates: time 0.005103/1.4, allocations: 1.238 MB / 1.318 GB, free: 24.6 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.192295253276825]