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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001374/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001427/0.001427, allocations: 195.2 kB / 16.14 MB, free: 6.629 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.536/1.536, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.797/2.797, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 63.89 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8463/0.8482, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00885/0.8571, allocations: 4.121 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003978/0.8611, allocations: 2.457 MB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.8614, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.8618, allocations: 39.8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.8623, allocations: 87.48 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.8642, allocations: 475.6 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005159/0.8647, allocations: 347.7 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.985e-05/0.8648, allocations: 9.562 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.865, allocations: 103.6 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.8652, allocations: 99.59 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.8652, allocations: 8 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.8663, allocations: 467 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.8664, allocations: 31.89 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.8666, allocations: 87.66 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007597/0.8674, allocations: 412.9 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.8674, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8674, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.8674, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 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.000985/0.8684, allocations: 0.5051 MB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.8684, allocations: 8.031 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/0.8706, allocations: 192.4 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.8709, allocations: 208.1 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.871, allocations: 16.69 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.871, allocations: 12.38 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.8717, allocations: 308.4 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.8718, allocations: 4 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.8718, allocations: 8 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.8718, allocations: 4 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/0.8726, allocations: 259.6 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.8746, allocations: 1.381 MB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.8753, allocations: 198.4 kB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.8755, allocations: 76.81 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.8756, allocations: 4 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.8756, allocations: 38.56 kB / 1.028 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.8756, allocations: 0 / 1.028 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008178/0.8764, allocations: 243 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.8765, allocations: 63.28 kB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.8767, allocations: 154.4 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.8767, allocations: 37.7 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.8768, allocations: 124 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.8769, allocations: 63.09 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.877, allocations: 57.83 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8772, allocations: 322.8 kB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.8774, allocations: 64.42 kB / 1.029 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.8777, allocations: 139 kB / 1.029 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.8782, allocations: 218.3 kB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.8783, allocations: 4 kB / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006235/0.8789, allocations: 255.4 kB / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.8789, allocations: 8 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.8789, allocations: 4 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.8789, allocations: 4 kB / 1.03 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.8793, allocations: 63.89 kB / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.8794, allocations: 4 kB / 1.03 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.8796, allocations: 31.77 kB / 1.03 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.8797, allocations: 16.14 kB / 1.03 GB, free: 4.66 MB / 0.7794 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.0001407/0.8798, allocations: 129.7 kB / 1.03 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.8799, allocations: 15.81 kB / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000691/0.8806, allocations: 230.6 kB / 1.03 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.8806, allocations: 4 kB / 1.03 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8806, allocations: 0 / 1.03 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8806, allocations: 0 / 1.03 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.881, allocations: 249.4 kB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.881, allocations: 4 kB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.8813, allocations: 47.91 kB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.8814, allocations: 3.938 kB / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.8814, allocations: 7.984 kB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.8814, allocations: 8 kB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8814, allocations: 0 / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.882, allocations: 301 kB / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.8822, allocations: 108.8 kB / 1.031 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.8822, allocations: 4 kB / 1.031 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.8825, allocations: 23.97 kB / 1.031 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.8825, allocations: 7.984 kB / 1.031 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.8826, allocations: 8 kB / 1.031 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001196/0.8827, allocations: 122.7 kB / 1.031 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8827, allocations: 0 / 1.031 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003794/0.8831, allocations: 64.12 kB / 1.031 GB, free: 3.25 MB / 0.7794 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.0002351/0.8833, allocations: 139.7 kB / 1.031 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.8839, allocations: 183.7 kB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8839, allocations: 0 / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.8842, allocations: 88.52 kB / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.8847, allocations: 55.83 kB / 1.032 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.8857, allocations: 470.1 kB / 1.032 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.8861, allocations: 0.7214 MB / 1.033 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003606/0.8865, allocations: 53.92 kB / 1.033 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.8866, allocations: 23.42 kB / 1.033 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.8866, allocations: 0 / 1.033 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of Templates: time 0.007765/0.8944, allocations: 3.254 MB / 1.036 GB, free: 14.27 MB / 0.795 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=400 -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/jenkins/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