Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001109/0.001109, allocations: 110.1 kB / 16.37 MB, free: 5.984 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.001195/0.001196, allocations: 194.5 kB / 17.31 MB, free: 5.602 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.367/2.367, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.86 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2935, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005042/0.2986, allocations: 4.061 MB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.3012, allocations: 2.426 MB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.3013, allocations: 4 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.3015, allocations: 55.66 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.3018, allocations: 103.3 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.303, allocations: 0.5128 MB / 1.026 GB, free: 2.688 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.3033, allocations: 255.9 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.3033, allocations: 13.56 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.3036, allocations: 119.5 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.3037, allocations: 91.66 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.3037, allocations: 8 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008249/0.3046, allocations: 455.2 kB / 1.027 GB, free: 1.758 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.3047, allocations: 39.89 kB / 1.027 GB, free: 1.719 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3048, allocations: 87.58 kB / 1.027 GB, free: 1.633 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006094/0.3054, allocations: 407 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3054, allocations: 0 / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3054, allocations: 4 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3054, allocations: 4 kB / 1.027 GB, free: 1.227 MB / 0.795 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.0007626/0.3062, allocations: 0.5055 MB / 1.028 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3062, allocations: 8.922 kB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.3083, allocations: 176.5 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.3086, allocations: 212.1 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.3086, allocations: 12.64 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.3087, allocations: 20.38 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.3093, allocations: 308.4 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3093, allocations: 0 / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.3094, allocations: 8 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.3094, allocations: 4 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006924/0.3101, allocations: 263.6 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.3118, allocations: 1.392 MB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.3124, allocations: 192.2 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.3127, allocations: 80.75 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.3127, allocations: 7.984 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3127, allocations: 34.56 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.3127, allocations: 4 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.000786/0.3135, allocations: 241.3 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3136, allocations: 55.41 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3137, allocations: 156.9 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.3138, allocations: 29.7 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.3138, allocations: 132 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.3139, allocations: 59.11 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/0.314, allocations: 53.83 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3141, allocations: 326.8 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.3143, allocations: 68.36 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.3146, allocations: 142.3 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.315, allocations: 216 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.315, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00058/0.3156, allocations: 257 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3156, allocations: 8 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3157, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3157, allocations: 4.312 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.3161, allocations: 67.89 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3161, allocations: 7.938 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3163, allocations: 31.83 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.3164, allocations: 11.98 kB / 1.032 GB, free: 11.82 MB / 0.8106 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.0001173/0.3165, allocations: 141.6 kB / 1.032 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.3166, allocations: 15.81 kB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000616/0.3172, allocations: 238.6 kB / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.3172, allocations: 4 kB / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3172, allocations: 0 / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3172, allocations: 0 / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.3175, allocations: 245.4 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3175, allocations: 0 / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.3178, allocations: 39.97 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3178, allocations: 0 / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3179, allocations: 7.984 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3179, allocations: 7.938 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3179, allocations: 0 / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.3184, allocations: 300.9 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3185, allocations: 104.9 kB / 1.033 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.3186, allocations: 0 / 1.033 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.3189, allocations: 23.98 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.3189, allocations: 11.98 kB / 1.033 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.3189, allocations: 11.98 kB / 1.033 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.734e-05/0.319, allocations: 117.1 kB / 1.033 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.319, allocations: 0 / 1.033 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003645/0.3194, allocations: 60.12 kB / 1.033 GB, free: 10.41 MB / 0.8106 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.0002023/0.3196, allocations: 139.1 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000531/0.3201, allocations: 184.3 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3201, allocations: 3.938 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.3204, allocations: 91.88 kB / 1.034 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.3208, allocations: 70.91 kB / 1.034 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.3218, allocations: 399.3 kB / 1.034 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3221, allocations: 0.7134 MB / 1.035 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002399/0.3223, allocations: 57.88 kB / 1.035 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.3224, allocations: 23.42 kB / 1.035 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3224, allocations: 0 / 1.035 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of Templates: time 0.006696/0.3291, allocations: 3.398 MB / 1.038 GB, free: 5.352 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches