Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001621/0.001621, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 198 kB / 16.54 MB, free: 6.391 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 66.3 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3598, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006462/0.3663, allocations: 4.049 MB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00289/0.3692, allocations: 2.422 MB / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.3694, allocations: 0 / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.3697, allocations: 51.66 kB / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.3701, allocations: 99.41 kB / 1.075 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.3715, allocations: 0.5201 MB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.3719, allocations: 263.8 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.372, allocations: 17.48 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.3722, allocations: 119.6 kB / 1.076 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3724, allocations: 95.61 kB / 1.076 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.3724, allocations: 8 kB / 1.076 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000947/0.3734, allocations: 451.3 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.3735, allocations: 43.88 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.3736, allocations: 79.66 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000864/0.3745, allocations: 411.2 kB / 1.077 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3745, allocations: 0 / 1.077 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3745, allocations: 0 / 1.077 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.3745, allocations: 0 / 1.077 GB, free: 1.766 MB / 0.8262 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.0008691/0.3754, allocations: 0.5109 MB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3754, allocations: 8.031 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.3775, allocations: 180.5 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3777, allocations: 208.2 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.3778, allocations: 12.7 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.3778, allocations: 16.38 kB / 1.078 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.3785, allocations: 308.3 kB / 1.078 GB, free: 428 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3785, allocations: 0 / 1.078 GB, free: 428 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.3786, allocations: 8 kB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.3786, allocations: 8 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.3793, allocations: 259.6 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.3811, allocations: 1.4 MB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.3818, allocations: 182.5 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.3821, allocations: 94.8 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.3821, allocations: 8 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3822, allocations: 30.56 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 2.003e-06/0.3822, allocations: 0 / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0008359/0.383, allocations: 249.3 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3831, allocations: 51.41 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.3832, allocations: 160.8 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.3833, allocations: 29.7 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.3834, allocations: 132 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.3834, allocations: 63.09 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.3835, allocations: 45.94 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3837, allocations: 326.8 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.3839, allocations: 68.41 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.3842, allocations: 143.4 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.3847, allocations: 218.5 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3847, allocations: 0 / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000622/0.3853, allocations: 254.4 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3854, allocations: 7.938 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3854, allocations: 4 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3854, allocations: 4.312 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.3858, allocations: 71.89 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3858, allocations: 4 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.386, allocations: 27.73 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.386, allocations: 12 kB / 1.082 GB, free: 12.35 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.000138/0.3862, allocations: 139 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.3863, allocations: 11.91 kB / 1.082 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/0.3869, allocations: 232 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3869, allocations: 0 / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3869, allocations: 4 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.387, allocations: 3.984 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.3872, allocations: 249.3 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3872, allocations: 0 / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.3875, allocations: 47.95 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3876, allocations: 0 / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3876, allocations: 4 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3876, allocations: 8 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3876, allocations: 0 / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.3882, allocations: 305.2 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.3883, allocations: 100.9 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3883, allocations: 4 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.3886, allocations: 19.98 kB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.3886, allocations: 11.98 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.3886, allocations: 11.98 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.15e-05/0.3887, allocations: 109.7 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3887, allocations: 4 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003869/0.3891, allocations: 64.11 kB / 1.083 GB, free: 10.95 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.0002305/0.3894, allocations: 139.6 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005755/0.39, allocations: 194.1 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.39, allocations: 0 / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.3902, allocations: 91.88 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3908, allocations: 68.75 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.3917, allocations: 404.5 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.392, allocations: 0.7095 MB / 1.084 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003507/0.3923, allocations: 53.92 kB / 1.084 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.3924, allocations: 31.42 kB / 1.084 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of SimCode: time 4.4e-07/0.3924, allocations: 0 / 1.084 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of Templates: time 0.007124/0.3996, allocations: 3.395 MB / 1.088 GB, free: 5.902 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches