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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003802/0.003802, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001108/0.001108, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.285/2.285, allocations: 437.1 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 63.91 kB / 1.018 GB, free: 9.797 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5745/0.5761, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005215/0.5814, allocations: 4.066 MB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.584, allocations: 2.426 MB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.584, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.5843, allocations: 47.69 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.5845, allocations: 99.34 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009686/0.5855, allocations: 0.5263 MB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.5858, allocations: 259.9 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.5858, allocations: 13.55 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.586, allocations: 115.5 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.5861, allocations: 99.66 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.5862, allocations: 12 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007155/0.5869, allocations: 451.2 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.587, allocations: 43.88 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.587, allocations: 79.66 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.5876, allocations: 414.4 kB / 1.175 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.5876, allocations: 4 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5876, allocations: 0 / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5876, allocations: 0 / 1.175 GB, free: 11.07 MB / 0.9044 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.0006402/0.5883, allocations: 0.5064 MB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.5883, allocations: 8.922 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.5884, allocations: 54.73 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.5901, allocations: 176.6 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.5903, allocations: 212.1 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.5903, allocations: 12.7 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.5904, allocations: 16.38 kB / 1.176 GB, free: 10 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.591, allocations: 300.2 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.591, allocations: 4 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.591, allocations: 11.92 kB / 1.176 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.591, allocations: 8 kB / 1.176 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006635/0.5917, allocations: 264.1 kB / 1.176 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.5932, allocations: 1.385 MB / 1.178 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.5938, allocations: 190.7 kB / 1.178 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.594, allocations: 84.72 kB / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.594, allocations: 4 kB / 1.178 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.594, allocations: 34.56 kB / 1.178 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.5941, allocations: 0 / 1.178 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0007281/0.5948, allocations: 255.8 kB / 1.178 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.5948, allocations: 51.41 kB / 1.178 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.595, allocations: 163.5 kB / 1.178 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.595, allocations: 29.7 kB / 1.178 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.5951, allocations: 132.2 kB / 1.178 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.5951, allocations: 63.47 kB / 1.178 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.063e-05/0.5952, allocations: 53.88 kB / 1.179 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5953, allocations: 326.8 kB / 1.179 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.5955, allocations: 68.42 kB / 1.179 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.5958, allocations: 138.3 kB / 1.179 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.5963, allocations: 221.2 kB / 1.179 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5963, allocations: 0 / 1.179 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005533/0.5968, allocations: 247.8 kB / 1.179 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5969, allocations: 11.94 kB / 1.18 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.5969, allocations: 0 / 1.18 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5969, allocations: 11.97 kB / 1.18 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.5972, allocations: 68.2 kB / 1.18 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5972, allocations: 7.938 kB / 1.18 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.5974, allocations: 31.84 kB / 1.18 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.5975, allocations: 15.98 kB / 1.18 GB, free: 5.582 MB / 0.9044 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.0001076/0.5976, allocations: 133.7 kB / 1.18 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.5976, allocations: 15.91 kB / 1.18 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005749/0.5982, allocations: 226.7 kB / 1.18 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.5982, allocations: 4 kB / 1.18 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.5982, allocations: 0 / 1.18 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.5982, allocations: 4 kB / 1.18 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.5985, allocations: 241.4 kB / 1.18 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5985, allocations: 0 / 1.18 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.5988, allocations: 47.91 kB / 1.18 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5988, allocations: 3.984 kB / 1.18 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5988, allocations: 8 kB / 1.18 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5988, allocations: 0 / 1.18 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.5988, allocations: 0 / 1.18 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.5993, allocations: 301.8 kB / 1.181 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.5994, allocations: 104.9 kB / 1.181 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.5995, allocations: 7.984 kB / 1.181 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.5997, allocations: 19.92 kB / 1.181 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.5998, allocations: 15.98 kB / 1.181 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.5998, allocations: 4 kB / 1.181 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.728e-05/0.5999, allocations: 121.5 kB / 1.181 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5999, allocations: 0 / 1.181 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002964/0.6002, allocations: 63.94 kB / 1.181 GB, free: 4.188 MB / 0.9044 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.0008576/0.601, allocations: 0.8696 MB / 1.182 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000482/0.6015, allocations: 174.2 kB / 1.182 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6015, allocations: 0 / 1.182 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.6018, allocations: 96.45 kB / 1.182 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.6022, allocations: 64.62 kB / 1.182 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.6051, allocations: 2.165 MB / 1.184 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.6054, allocations: 0.7251 MB / 1.185 GB, free: 15.91 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.6056, allocations: 45.94 kB / 1.185 GB, free: 15.87 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.6057, allocations: 51.41 kB / 1.185 GB, free: 15.82 MB / 0.92 GB Notification: Performance of SimCode: time 2.01e-07/0.6057, allocations: 7.938 kB / 1.185 GB, free: 15.81 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.422/2.027, allocations: 5.204 MB / 1.19 GB, free: 10.79 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/14.78, allocations: 11.94 kB / 1.19 GB, free: 10.78 MB / 0.92 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > 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/jenkins1/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