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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009112/0.000911, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00097/0.00097, allocations: 177.3 kB / 15.94 MB, free: 228 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.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.646/2.646, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004895, allocations: 16 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6606/0.6611, allocations: 153.6 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003654/0.6648, allocations: 3.064 MB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002463/0.6673, allocations: 2.183 MB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.6674, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.6676, allocations: 47.73 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.6678, allocations: 79.8 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.6689, allocations: 457 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.6691, allocations: 168.7 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.6692, allocations: 13.56 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.6694, allocations: 103.7 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.6695, allocations: 79.67 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.6696, allocations: 4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007899/0.6704, allocations: 395.5 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.6704, allocations: 35.89 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.6705, allocations: 57.64 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.6709, allocations: 257.3 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.6709, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6709, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6709, allocations: 4 kB / 1.028 GB, free: 10.2 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.0006474/0.6716, allocations: 475 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.6716, allocations: 11.98 kB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.6736, allocations: 187.5 kB / 1.028 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.6738, allocations: 210.8 kB / 1.028 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.6739, allocations: 12.33 kB / 1.028 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.6739, allocations: 12 kB / 1.028 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.6746, allocations: 300.2 kB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6746, allocations: 8 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.6746, allocations: 8 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.6747, allocations: 11.98 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007116/0.6754, allocations: 255.6 kB / 1.029 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.677, allocations: 1.385 MB / 1.03 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.6777, allocations: 208.8 kB / 1.031 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.6777, allocations: 0 / 1.031 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.6777, allocations: 38.88 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.6777, allocations: 0 / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008001/0.6785, allocations: 243 kB / 1.031 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.6786, allocations: 55.41 kB / 1.031 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.6787, allocations: 164 kB / 1.031 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.6788, allocations: 25.7 kB / 1.031 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.6788, allocations: 128 kB / 1.031 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.6789, allocations: 71.08 kB / 1.031 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.6789, allocations: 4 kB / 1.031 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.679, allocations: 326.8 kB / 1.032 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.6793, allocations: 60.42 kB / 1.032 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.6795, allocations: 138.3 kB / 1.032 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.6798, allocations: 89.31 kB / 1.032 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6798, allocations: 0 / 1.032 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005966/0.6804, allocations: 249.3 kB / 1.032 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.6804, allocations: 5.562 kB / 1.032 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6804, allocations: 4 kB / 1.032 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.6804, allocations: 4 kB / 1.032 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.6808, allocations: 67.88 kB / 1.032 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6809, allocations: 7.938 kB / 1.032 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.6811, allocations: 43.86 kB / 1.032 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.6812, allocations: 15.98 kB / 1.032 GB, free: 5.109 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.6813, allocations: 133.7 kB / 1.032 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.6813, allocations: 11.91 kB / 1.032 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006449/0.682, allocations: 228.1 kB / 1.033 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.682, allocations: 4 kB / 1.033 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.682, allocations: 0 / 1.033 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.682, allocations: 0 / 1.033 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.6823, allocations: 253.4 kB / 1.033 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.6823, allocations: 0 / 1.033 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.6827, allocations: 51.91 kB / 1.033 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.6827, allocations: 3.984 kB / 1.033 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.6827, allocations: 8 kB / 1.033 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.6827, allocations: 4 kB / 1.033 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6827, allocations: 0 / 1.033 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.6833, allocations: 292.8 kB / 1.033 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.6834, allocations: 108.8 kB / 1.033 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6834, allocations: 8 kB / 1.033 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.6837, allocations: 19.98 kB / 1.033 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.6838, allocations: 15.92 kB / 1.033 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.6838, allocations: 15.98 kB / 1.033 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.734e-05/0.6839, allocations: 113.9 kB / 1.033 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6839, allocations: 0 / 1.033 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003675/0.6843, allocations: 56 kB / 1.033 GB, free: 3.715 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 (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.0001936/0.6845, allocations: 135.3 kB / 1.034 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005268/0.685, allocations: 180.3 kB / 1.034 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.685, allocations: 0 / 1.034 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.6853, allocations: 93.77 kB / 1.034 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.6857, allocations: 48.52 kB / 1.034 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009521/0.6867, allocations: 0.4932 MB / 1.034 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.6869, allocations: 0.7254 MB / 1.035 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003589/0.6873, allocations: 53.92 kB / 1.035 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.6874, allocations: 19.44 kB / 1.035 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6874, allocations: 0 / 1.035 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.00625/0.6937, allocations: 3.122 MB / 1.038 GB, free: 14.87 MB / 0.795 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","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches