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.001691/0.001691, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002853/0.002854, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.477/2.477, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7661/0.7675, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006433/0.774, allocations: 4.098 MB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00254/0.7766, allocations: 2.417 MB / 0.9555 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.7767, allocations: 1 kB / 0.9555 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.777, allocations: 35.84 kB / 0.9555 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.7773, allocations: 94.56 kB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.7785, allocations: 0.4887 MB / 0.9561 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.7789, allocations: 264.3 kB / 0.9563 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.397e-05/0.779, allocations: 12.86 kB / 0.9563 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.7792, allocations: 113.4 kB / 0.9564 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.7794, allocations: 96.14 kB / 0.9565 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.7794, allocations: 12.41 kB / 0.9565 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007361/0.7802, allocations: 464.7 kB / 0.957 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.7803, allocations: 46.5 kB / 0.957 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.774e-05/0.7804, allocations: 81.34 kB / 0.9571 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005924/0.781, allocations: 413.7 kB / 0.9575 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.781, allocations: 0 / 0.9575 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.781, allocations: 0 / 0.9575 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.781, allocations: 5.469 kB / 0.9575 GB, free: 2.668 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.0007571/0.7818, allocations: 0.4993 MB / 0.958 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.7818, allocations: 12.25 kB / 0.958 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.7838, allocations: 179.2 kB / 0.9582 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.784, allocations: 221.8 kB / 0.9584 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.784, allocations: 15.58 kB / 0.9584 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.7841, allocations: 17.94 kB / 0.9584 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.7847, allocations: 306.9 kB / 0.9587 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.7847, allocations: 1.688 kB / 0.9587 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.7847, allocations: 9.906 kB / 0.9587 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.7848, allocations: 5.5 kB / 0.9587 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006939/0.7855, allocations: 262.9 kB / 0.959 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.7869, allocations: 1.377 MB / 0.9603 GB, free: 96 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.7876, allocations: 194.9 kB / 0.9605 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.7878, allocations: 77.41 kB / 0.9606 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.7879, allocations: 10.3 kB / 0.9606 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.7879, allocations: 33.16 kB / 0.9606 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.7879, allocations: 0 / 0.9606 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008281/0.7887, allocations: 247.3 kB / 0.9609 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.7888, allocations: 57.34 kB / 0.9609 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.789, allocations: 158.4 kB / 0.9611 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.789, allocations: 30.89 kB / 0.9611 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.7891, allocations: 122.2 kB / 0.9612 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.7892, allocations: 67.59 kB / 0.9613 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.7893, allocations: 50.69 kB / 0.9613 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7894, allocations: 322.4 kB / 0.9616 GB, free: 15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.7896, allocations: 71.62 kB / 0.9617 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.7899, allocations: 143 kB / 0.9618 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.7904, allocations: 219.5 kB / 0.962 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7904, allocations: 1.125 kB / 0.962 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006169/0.791, allocations: 250.2 kB / 0.9623 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.7911, allocations: 5.344 kB / 0.9623 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7911, allocations: 6.562 kB / 0.9623 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7911, allocations: 3.688 kB / 0.9623 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.7915, allocations: 66.2 kB / 0.9624 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.7915, allocations: 8.625 kB / 0.9624 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.7917, allocations: 39.77 kB / 0.9624 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.7918, allocations: 9.469 kB / 0.9624 GB, free: 14.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.7919, allocations: 133.7 kB / 0.9625 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.792, allocations: 15.94 kB / 0.9626 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006367/0.7926, allocations: 228.6 kB / 0.9628 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.7926, allocations: 5.438 kB / 0.9628 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7926, allocations: 5.031 kB / 0.9628 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.7926, allocations: 0 / 0.9628 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.7929, allocations: 249 kB / 0.963 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.793, allocations: 0 / 0.963 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.7933, allocations: 50.69 kB / 0.9631 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7933, allocations: 1.125 kB / 0.9631 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.7933, allocations: 1.094 kB / 0.9631 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.7933, allocations: 5.047 kB / 0.9631 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7933, allocations: 0 / 0.9631 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.7939, allocations: 300.9 kB / 0.9634 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.794, allocations: 101.7 kB / 0.9635 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.7941, allocations: 5.375 kB / 0.9635 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.7944, allocations: 22.39 kB / 0.9635 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.7944, allocations: 9.141 kB / 0.9635 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.7944, allocations: 22.27 kB / 0.9635 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.323e-05/0.7945, allocations: 117.5 kB / 0.9636 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7945, allocations: 0 / 0.9636 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003794/0.7949, allocations: 66.97 kB / 0.9637 GB, free: 13.45 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 (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.0002201/0.7952, allocations: 132.2 kB / 0.9638 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005639/0.7957, allocations: 189.4 kB / 0.964 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7957, allocations: 5.125 kB / 0.964 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.796, allocations: 86.17 kB / 0.9641 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.7965, allocations: 66.08 kB / 0.9642 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.7976, allocations: 459.5 kB / 0.9646 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.7979, allocations: 0.7145 MB / 0.9653 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003465/0.7983, allocations: 56.92 kB / 0.9653 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.7984, allocations: 24.62 kB / 0.9654 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.7984, allocations: 0 / 0.9654 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.007269/0.8056, allocations: 3.376 MB / 0.9687 GB, free: 10.42 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