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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008435/0.008435, allocations: 101 kB / 15.73 MB, free: 6.039 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.001563/0.001564, allocations: 198.5 kB / 16.68 MB, free: 5.973 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 62.16 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.346, allocations: 140.4 MB / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005446/0.3515, allocations: 4.053 MB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.3542, allocations: 2.426 MB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.3543, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.3546, allocations: 55.67 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.3548, allocations: 107.3 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.3561, allocations: 0.5315 MB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.3564, allocations: 255.9 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.3565, allocations: 13.56 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.3567, allocations: 119.5 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3569, allocations: 91.66 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3569, allocations: 8 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007478/0.3576, allocations: 455.2 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.3577, allocations: 39.89 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.3578, allocations: 83.64 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.3584, allocations: 407 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3584, allocations: 0 / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3584, allocations: 4 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3584, allocations: 4 kB / 1.096 GB, free: 8.762 MB / 0.8575 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.00076/0.3592, allocations: 0.5031 MB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3592, allocations: 8.031 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.3612, allocations: 172.6 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3615, allocations: 216.1 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3615, allocations: 12.64 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.3616, allocations: 20.38 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.3622, allocations: 308.3 kB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3622, allocations: 3.938 kB / 1.098 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.3623, allocations: 8 kB / 1.098 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.3623, allocations: 8 kB / 1.098 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00071/0.363, allocations: 260.1 kB / 1.098 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3646, allocations: 1.396 MB / 1.099 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.3653, allocations: 190.5 kB / 1.099 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.3655, allocations: 84.66 kB / 1.099 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.3655, allocations: 4 kB / 1.099 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3655, allocations: 34.56 kB / 1.1 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.3656, allocations: 0 / 1.1 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.000752/0.3663, allocations: 243.4 kB / 1.1 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.3664, allocations: 55.41 kB / 1.1 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3665, allocations: 160.4 kB / 1.1 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.3665, allocations: 29.7 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.3666, allocations: 132 kB / 1.1 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.3667, allocations: 63.09 kB / 1.1 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.3668, allocations: 53.92 kB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3669, allocations: 326.8 kB / 1.101 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.3671, allocations: 68.36 kB / 1.101 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.3674, allocations: 138.3 kB / 1.101 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.3678, allocations: 214.9 kB / 1.101 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3678, allocations: 4 kB / 1.101 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005754/0.3684, allocations: 254.9 kB / 1.101 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3685, allocations: 8 kB / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3685, allocations: 320 / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3685, allocations: 8 kB / 1.101 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.3689, allocations: 67.89 kB / 1.101 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3689, allocations: 4 kB / 1.101 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.3691, allocations: 27.83 kB / 1.101 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3691, allocations: 11.98 kB / 1.101 GB, free: 3.344 MB / 0.8575 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.0001356/0.3693, allocations: 137.7 kB / 1.101 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.3693, allocations: 19.75 kB / 1.101 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/0.37, allocations: 236.2 kB / 1.102 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.37, allocations: 4 kB / 1.102 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.37, allocations: 0 / 1.102 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.37, allocations: 0 / 1.102 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.3703, allocations: 241.4 kB / 1.102 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3703, allocations: 4 kB / 1.102 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.3706, allocations: 39.97 kB / 1.102 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3706, allocations: 0 / 1.102 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3707, allocations: 11.98 kB / 1.102 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3707, allocations: 3.938 kB / 1.102 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3707, allocations: 3.938 kB / 1.102 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.3712, allocations: 297.1 kB / 1.102 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.3714, allocations: 104.9 kB / 1.102 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3714, allocations: 4 kB / 1.102 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.3717, allocations: 19.98 kB / 1.102 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.3717, allocations: 11.98 kB / 1.102 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.3717, allocations: 11.98 kB / 1.102 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.143e-05/0.3718, allocations: 116.3 kB / 1.103 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3718, allocations: 0 / 1.103 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003618/0.3722, allocations: 64.06 kB / 1.103 GB, free: 1.941 MB / 0.8575 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.0002253/0.3724, allocations: 143.1 kB / 1.103 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.373, allocations: 188 kB / 1.103 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.373, allocations: 0 / 1.103 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.3732, allocations: 87.89 kB / 1.103 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.3737, allocations: 66.19 kB / 1.103 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.3746, allocations: 403 kB / 1.103 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.3749, allocations: 0.7211 MB / 1.104 GB, free: 304 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.3752, allocations: 49.94 kB / 1.104 GB, free: 252 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.3753, allocations: 27.36 kB / 1.104 GB, free: 228 kB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.3753, allocations: 0 / 1.104 GB, free: 228 kB / 0.8575 GB Notification: Performance of Templates: time 0.006744/0.382, allocations: 3.42 MB / 1.108 GB, free: 12.85 MB / 0.8731 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