Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001089/0.001089, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.009272/0.009272, allocations: 171.8 kB / 16.27 MB, free: 6.324 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.508/1.508, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.761/2.761, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 8.188 kB / 0.8728 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7051/0.7055, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005389/0.7109, allocations: 3.74 MB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003246/0.7142, allocations: 2.426 MB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.7144, allocations: 0 / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.7147, allocations: 31.81 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.7151, allocations: 91.47 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.7167, allocations: 483.2 kB / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.7172, allocations: 335.7 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.337e-05/0.7173, allocations: 9.562 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.7176, allocations: 107.6 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.7178, allocations: 99.58 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.7178, allocations: 8 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.7189, allocations: 455.1 kB / 1.031 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.719, allocations: 47.81 kB / 1.031 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.7192, allocations: 101.4 kB / 1.031 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009011/0.7201, allocations: 412.9 kB / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7201, allocations: 0 / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7201, allocations: 0 / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7201, allocations: 3.938 kB / 1.031 GB, free: 7.609 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.0008891/0.721, allocations: 481.1 kB / 1.032 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.7211, allocations: 15.97 kB / 1.032 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.7232, allocations: 184.5 kB / 1.032 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.7235, allocations: 212.1 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.7236, allocations: 8.703 kB / 1.032 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.7236, allocations: 20.38 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.7244, allocations: 312.4 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.7244, allocations: 0 / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.7244, allocations: 8 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.7245, allocations: 7.984 kB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/0.7252, allocations: 255.6 kB / 1.033 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.7269, allocations: 1.385 MB / 1.034 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.7276, allocations: 194.4 kB / 1.034 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.7279, allocations: 76.81 kB / 1.034 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.7279, allocations: 0 / 1.034 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.7279, allocations: 42.56 kB / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.7279, allocations: 0 / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008148/0.7288, allocations: 242.2 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.7288, allocations: 51.41 kB / 1.034 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.729, allocations: 168.6 kB / 1.035 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.729, allocations: 29.7 kB / 1.035 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.7291, allocations: 132 kB / 1.035 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.7292, allocations: 59.09 kB / 1.035 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.7292, allocations: 33.64 kB / 1.035 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7294, allocations: 322.8 kB / 1.035 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.7296, allocations: 64.42 kB / 1.035 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.7298, allocations: 138.3 kB / 1.035 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.7303, allocations: 222.3 kB / 1.036 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.7304, allocations: 0 / 1.036 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006242/0.731, allocations: 259.6 kB / 1.036 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.731, allocations: 4 kB / 1.036 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.731, allocations: 4 kB / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.7311, allocations: 4 kB / 1.036 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.7314, allocations: 63.89 kB / 1.036 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.7314, allocations: 4 kB / 1.036 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.7317, allocations: 40.05 kB / 1.036 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.7317, allocations: 15.98 kB / 1.036 GB, free: 2.246 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.7318, allocations: 130.2 kB / 1.036 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.7319, allocations: 15.81 kB / 1.036 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006546/0.7326, allocations: 234.6 kB / 1.036 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.7326, allocations: 3.938 kB / 1.036 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7326, allocations: 4 kB / 1.036 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7326, allocations: 0 / 1.036 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.7329, allocations: 249.4 kB / 1.037 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7329, allocations: 4 kB / 1.037 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.7332, allocations: 43.91 kB / 1.037 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.7332, allocations: 3.938 kB / 1.037 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.7333, allocations: 11.98 kB / 1.037 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7333, allocations: 0 / 1.037 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7333, allocations: 0 / 1.037 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.7339, allocations: 296.4 kB / 1.037 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.734, allocations: 108.8 kB / 1.037 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.734, allocations: 4 kB / 1.037 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.7343, allocations: 19.97 kB / 1.037 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.7344, allocations: 19.98 kB / 1.037 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.7344, allocations: 4 kB / 1.037 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.974e-05/0.7345, allocations: 120.7 kB / 1.037 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7345, allocations: 0 / 1.037 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004178/0.7349, allocations: 60.12 kB / 1.037 GB, free: 0.8398 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 (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.0002448/0.7352, allocations: 143.1 kB / 1.037 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005651/0.7357, allocations: 179.7 kB / 1.038 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7358, allocations: 0.625 kB / 1.038 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.736, allocations: 89.44 kB / 1.038 GB, free: 440 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.7366, allocations: 63.81 kB / 1.038 GB, free: 376 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.7376, allocations: 0.4915 MB / 1.038 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.7379, allocations: 0.7214 MB / 1.039 GB, free: 15.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003642/0.7383, allocations: 49.94 kB / 1.039 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.799e-05/0.7384, allocations: 23.42 kB / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of SimCode: time 3.256e-06/0.7384, allocations: 0 / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of Templates: time 0.008003/0.7464, allocations: 3.249 MB / 1.042 GB, free: 11.83 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches