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.001601/0.001601, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001768/0.001768, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.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.791/2.791, allocations: 476.8 MB / 0.7714 GB, free: 4.297 MB / 0.6231 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.002054/0.002054, allocations: 65.23 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3331, allocations: 170 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005827/0.3389, allocations: 3.402 MB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.339, allocations: 55.86 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.3391, allocations: 3.938 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.3392, allocations: 3.938 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.3393, allocations: 15.91 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.3399, allocations: 195.2 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.34, allocations: 31.91 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.34, allocations: 4 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.3401, allocations: 23.84 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.3402, allocations: 15.98 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3402, allocations: 0 / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.3406, allocations: 183.5 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.3406, allocations: 4 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.3407, allocations: 15.92 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.341, allocations: 143.6 kB / 1.289 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.341, allocations: 8 kB / 1.289 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.341, allocations: 0 / 1.289 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3411, allocations: 0 / 1.289 GB, free: 7.172 MB / 0.9825 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.0005368/0.3416, allocations: 270.2 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3416, allocations: 8.031 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.3417, allocations: 4.938 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3418, allocations: 106.5 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.3419, allocations: 55.95 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3419, allocations: 4.375 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.342, allocations: 45.62 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.342, allocations: 0 / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3421, allocations: 3.984 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.3421, allocations: 3.938 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.697e-05/0.3421, allocations: 19.98 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.3427, allocations: 256 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/0.3427, allocations: 18.58 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.3427, allocations: 8.922 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.3429, allocations: 35.95 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3429, allocations: 42.44 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3429, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.343, allocations: 33.69 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.3431, allocations: 51.41 kB / 1.29 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3432, allocations: 113.9 kB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3432, allocations: 25.7 kB / 1.29 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.3433, allocations: 88.03 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.3433, allocations: 8 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.3433, allocations: 9.719 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3435, allocations: 322.8 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.3435, allocations: 4 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.3435, allocations: 17.72 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.3436, allocations: 29.59 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3436, allocations: 0 / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.306e-05/0.3436, allocations: 45.62 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3437, allocations: 8 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3437, allocations: 0 / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3437, allocations: 0 / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.892e-05/0.3437, allocations: 12.05 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3437, allocations: 0 / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.3438, allocations: 11.95 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-06/0.3438, allocations: 0 / 1.29 GB, free: 5.336 MB / 0.9825 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.0001018/0.3439, allocations: 113.8 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.3439, allocations: 0 / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.344, allocations: 124.9 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-05/0.3441, allocations: 180.3 kB / 1.291 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001372/0.3443, allocations: 176.3 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.462e-05/0.3443, allocations: 184.2 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.3446, allocations: 380.2 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.664e-05/0.3447, allocations: 108.9 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.3448, allocations: 105 kB / 1.292 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.691e-05/0.3448, allocations: 180.4 kB / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-05/0.3449, allocations: 188.2 kB / 1.292 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001115/0.345, allocations: 180.3 kB / 1.292 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.495e-05/0.3451, allocations: 184.2 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3453, allocations: 311.7 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3454, allocations: 108.9 kB / 1.293 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.3455, allocations: 180.3 kB / 1.293 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.3457, allocations: 108.9 kB / 1.293 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.3458, allocations: 180.3 kB / 1.293 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.3459, allocations: 104.9 kB / 1.293 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.693e-05/0.3459, allocations: 91.27 kB / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3459, allocations: 0 / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003243/0.3463, allocations: 31.88 kB / 1.293 GB, free: 1.992 MB / 0.9825 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.0003159/0.3466, allocations: 245.7 kB / 1.294 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.691e-05/0.3467, allocations: 4 kB / 1.294 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3467, allocations: 0 / 1.294 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.937e-06/0.3467, allocations: 3.984 kB / 1.294 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.3472, allocations: 467.8 kB / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.3475, allocations: 211.8 kB / 1.294 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.3479, allocations: 0.6729 MB / 1.295 GB, free: 340 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.3479, allocations: 7.438 kB / 1.295 GB, free: 332 kB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3479, allocations: 3.938 kB / 1.295 GB, free: 328 kB / 0.9825 GB Notification: Performance of Templates: time 0.003379/0.3513, allocations: 1.184 MB / 1.296 GB, free: 15.14 MB / 0.9981 GB " [Timeout remaining time 299] 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/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: 11.166126066993456]