Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 111.1 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 193.1 kB / 16.91 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.666/2.666, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 60.12 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2871, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005777/0.293, allocations: 4.091 MB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.2959, allocations: 2.426 MB / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.296, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.2962, allocations: 43.78 kB / 1.071 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.2965, allocations: 91.42 kB / 1.071 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.2977, allocations: 493.1 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.298, allocations: 267.8 kB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.2981, allocations: 9.562 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.2983, allocations: 115.6 kB / 1.071 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.2984, allocations: 95.59 kB / 1.072 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.2985, allocations: 8 kB / 1.072 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000776/0.2992, allocations: 467.2 kB / 1.072 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.2993, allocations: 43.83 kB / 1.072 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.668e-05/0.2994, allocations: 83.64 kB / 1.072 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.2999, allocations: 287.6 kB / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2999, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2999, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2999, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007945/0.3007, allocations: 0.5031 MB / 1.073 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.3007, allocations: 8.031 kB / 1.073 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.3028, allocations: 176.6 kB / 1.073 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.3031, allocations: 212.1 kB / 1.073 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3031, allocations: 8.703 kB / 1.073 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.3032, allocations: 24.36 kB / 1.073 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.3039, allocations: 308.3 kB / 1.074 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3039, allocations: 0 / 1.074 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.304, allocations: 8 kB / 1.074 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.304, allocations: 4 kB / 1.074 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/0.3048, allocations: 263.5 kB / 1.074 GB, free: 5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.3066, allocations: 1.385 MB / 1.075 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.3073, allocations: 198.4 kB / 1.075 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.3075, allocations: 84.7 kB / 1.075 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.3076, allocations: 11.94 kB / 1.075 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3076, allocations: 34.56 kB / 1.076 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.3076, allocations: 0 / 1.076 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0008335/0.3084, allocations: 248 kB / 1.076 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.3085, allocations: 51.41 kB / 1.076 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3086, allocations: 164.4 kB / 1.076 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.3087, allocations: 29.7 kB / 1.076 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.3088, allocations: 128 kB / 1.076 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.3089, allocations: 67.08 kB / 1.076 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.309, allocations: 45.94 kB / 1.076 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3091, allocations: 326.8 kB / 1.077 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.3093, allocations: 64.42 kB / 1.077 GB, free: 2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.3096, allocations: 138.3 kB / 1.077 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.3102, allocations: 221.1 kB / 1.077 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3102, allocations: 0 / 1.077 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006348/0.3108, allocations: 255.3 kB / 1.077 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3108, allocations: 8 kB / 1.077 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3109, allocations: 0 / 1.077 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3109, allocations: 4 kB / 1.077 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.3113, allocations: 67.89 kB / 1.077 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3113, allocations: 7.938 kB / 1.077 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.3116, allocations: 32.05 kB / 1.077 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.3116, allocations: 15.98 kB / 1.077 GB, free: 1.195 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001445/0.3117, allocations: 135.8 kB / 1.077 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.3118, allocations: 11.91 kB / 1.077 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006885/0.3125, allocations: 232.3 kB / 1.078 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3125, allocations: 4 kB / 1.078 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3125, allocations: 0 / 1.078 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3125, allocations: 4 kB / 1.078 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.3129, allocations: 249.4 kB / 1.078 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3129, allocations: 4 kB / 1.078 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.3132, allocations: 43.91 kB / 1.078 GB, free: 472 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.3132, allocations: 0 / 1.078 GB, free: 472 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3133, allocations: 11.98 kB / 1.078 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3133, allocations: 0 / 1.078 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3133, allocations: 0 / 1.078 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.3139, allocations: 301.1 kB / 1.078 GB, free: 144 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.314, allocations: 100.9 kB / 1.078 GB, free: 24 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.3141, allocations: 4 kB / 1.078 GB, free: 20 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.3144, allocations: 19.98 kB / 1.078 GB, free: 0 / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.4405/0.7549, allocations: 8.219 kB / 1.078 GB, free: 22.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.755, allocations: 13.39 kB / 1.078 GB, free: 22.4 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000113/0.7551, allocations: 123.4 kB / 1.079 GB, free: 22.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7551, allocations: 0 / 1.079 GB, free: 22.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004698/0.7556, allocations: 60.09 kB / 1.079 GB, free: 22.32 MB / 0.8419 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 (20): * Single equations (assignments): 20 * 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.0002304/0.7558, allocations: 137.1 kB / 1.079 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006097/0.7564, allocations: 195 kB / 1.079 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.7564, allocations: 1.406 kB / 1.079 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.7567, allocations: 85.83 kB / 1.079 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.7572, allocations: 60.41 kB / 1.079 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000956/0.7582, allocations: 495.2 kB / 1.08 GB, free: 21.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.7583, allocations: 0.7142 MB / 1.08 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.7584, allocations: 28.45 kB / 1.08 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.7584, allocations: 3.875 kB / 1.08 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.00569/0.7641, allocations: 2.925 MB / 1.083 GB, free: 21.12 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches