Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001141/0.001141, allocations: 92 kB / 15.06 MB, free: 1.098 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.001883/0.001883, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7036, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003402/0.7071, allocations: 3.6 MB / 0.9579 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.709, allocations: 2.24 MB / 0.9601 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.7091, allocations: 5.312 kB / 0.9601 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.7093, allocations: 35.92 kB / 0.9602 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.7095, allocations: 87.98 kB / 0.9603 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.7104, allocations: 425.6 kB / 0.9607 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.7107, allocations: 295.8 kB / 0.9609 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.7107, allocations: 15.92 kB / 0.961 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.7109, allocations: 111.7 kB / 0.9611 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.711, allocations: 92.5 kB / 0.9612 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.7111, allocations: 7.5 kB / 0.9612 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006657/0.7118, allocations: 354.3 kB / 0.9615 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.7118, allocations: 33.52 kB / 0.9615 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.7119, allocations: 58.27 kB / 0.9616 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.7122, allocations: 253.6 kB / 0.9618 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7122, allocations: 4 kB / 0.9618 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7122, allocations: 0.75 kB / 0.9618 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.7123, allocations: 0 / 0.9618 GB, free: 1.926 MB / 0.7169 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.000632/0.7129, allocations: 481.2 kB / 0.9623 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.7129, allocations: 8.688 kB / 0.9623 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.7148, allocations: 187 kB / 0.9625 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.7151, allocations: 207.8 kB / 0.9627 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.7151, allocations: 10.64 kB / 0.9627 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.7152, allocations: 18.19 kB / 0.9627 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.7158, allocations: 309.3 kB / 0.963 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.7158, allocations: 1.312 kB / 0.963 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.7158, allocations: 14.55 kB / 0.963 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.7159, allocations: 13.39 kB / 0.963 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006668/0.7165, allocations: 257.7 kB / 0.9633 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.718, allocations: 1.38 MB / 0.9646 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.7187, allocations: 196.1 kB / 0.9648 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.7189, allocations: 77.34 kB / 0.9649 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.7189, allocations: 7.656 kB / 0.9649 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.719, allocations: 34.56 kB / 0.9649 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.719, allocations: 0 / 0.9649 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0007421/0.7197, allocations: 245.7 kB / 0.9652 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.7198, allocations: 54.12 kB / 0.9652 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.7199, allocations: 161.3 kB / 0.9654 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.72, allocations: 27.08 kB / 0.9654 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.72, allocations: 134.3 kB / 0.9655 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.7201, allocations: 59.03 kB / 0.9656 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.7201, allocations: 5.156 kB / 0.9656 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7202, allocations: 322.3 kB / 0.9659 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.7204, allocations: 66.38 kB / 0.9659 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.7207, allocations: 150.7 kB / 0.9661 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.7209, allocations: 78.31 kB / 0.9662 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7209, allocations: 0.9688 kB / 0.9662 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000571/0.7215, allocations: 250.5 kB / 0.9664 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7215, allocations: 5.406 kB / 0.9664 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7215, allocations: 2.781 kB / 0.9664 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.7216, allocations: 8.109 kB / 0.9664 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.7219, allocations: 62.67 kB / 0.9665 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.722, allocations: 7.953 kB / 0.9665 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.7222, allocations: 40.45 kB / 0.9665 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.7222, allocations: 15.5 kB / 0.9665 GB, free: 13.91 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.7224, allocations: 123.8 kB / 0.9667 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.7224, allocations: 22.98 kB / 0.9667 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006134/0.723, allocations: 231 kB / 0.9669 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.723, allocations: 2.594 kB / 0.9669 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.7231, allocations: 0 / 0.9669 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.7231, allocations: 3.984 kB / 0.9669 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.7234, allocations: 244.6 kB / 0.9671 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7234, allocations: 0 / 0.9671 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.7237, allocations: 46.2 kB / 0.9672 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.7237, allocations: 4.953 kB / 0.9672 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.7237, allocations: 10 kB / 0.9672 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.7237, allocations: 1 kB / 0.9672 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7237, allocations: 1.125 kB / 0.9672 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.7243, allocations: 298.4 kB / 0.9675 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.7244, allocations: 108.9 kB / 0.9676 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.7244, allocations: 4.938 kB / 0.9676 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.7247, allocations: 20.81 kB / 0.9676 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.7248, allocations: 17.89 kB / 0.9676 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.7248, allocations: 10.23 kB / 0.9676 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.758e-05/0.7249, allocations: 116.8 kB / 0.9678 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7249, allocations: 0 / 0.9678 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004081/0.7253, allocations: 63.48 kB / 0.9678 GB, free: 12.89 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002465/0.7256, allocations: 143.7 kB / 0.9679 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005458/0.7261, allocations: 179.8 kB / 0.9681 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7262, allocations: 1.031 kB / 0.9681 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.7264, allocations: 97.64 kB / 0.9682 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.7269, allocations: 52.3 kB / 0.9683 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.728, allocations: 0.4897 MB / 0.9687 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.7283, allocations: 0.7181 MB / 0.9694 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003596/0.7286, allocations: 48.19 kB / 0.9695 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.7287, allocations: 29.17 kB / 0.9695 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of SimCode: time 2.725e-06/0.7288, allocations: 0 / 0.9695 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of Templates: time 0.008005/0.7368, allocations: 3.138 MB / 0.9726 GB, free: 9.922 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches