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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008619/0.000862, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005521/0.005521, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.259/2.259, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003327, allocations: 12 kB / 0.873 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5168, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004928/0.5218, allocations: 3.74 MB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.524, allocations: 2.426 MB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.5241, allocations: 0 / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.5243, allocations: 39.81 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.5244, allocations: 91.47 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.5253, allocations: 476.1 kB / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.5256, allocations: 339.7 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.5256, allocations: 13.56 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.5258, allocations: 103.6 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.5259, allocations: 103.6 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.5259, allocations: 8 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.5265, allocations: 463.1 kB / 1.031 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.5266, allocations: 31.91 kB / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.107e-05/0.5267, allocations: 109.3 kB / 1.031 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.5272, allocations: 421.2 kB / 1.031 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5272, allocations: 4 kB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5272, allocations: 0 / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.5272, allocations: 0 / 1.031 GB, free: 7.496 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.0005536/0.5278, allocations: 475.2 kB / 1.032 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.5278, allocations: 8.031 kB / 1.032 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.5278, allocations: 58.67 kB / 1.032 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.5296, allocations: 180.5 kB / 1.032 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.5298, allocations: 212 kB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.5298, allocations: 16.7 kB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.5298, allocations: 12.38 kB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.5304, allocations: 304.2 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.5304, allocations: 0 / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.5304, allocations: 12 kB / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.5305, allocations: 4 kB / 1.032 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.5311, allocations: 259.6 kB / 1.033 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.5324, allocations: 1.385 MB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.5331, allocations: 194.4 kB / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.5333, allocations: 76.81 kB / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.5333, allocations: 7.969 kB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.5333, allocations: 42.56 kB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.865e-06/0.5333, allocations: 0 / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006973/0.534, allocations: 249.2 kB / 1.035 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.5341, allocations: 51.41 kB / 1.035 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.5342, allocations: 160.5 kB / 1.035 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.5342, allocations: 37.64 kB / 1.035 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.5343, allocations: 124 kB / 1.035 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.5343, allocations: 63.09 kB / 1.035 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.5344, allocations: 21.72 kB / 1.035 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.5345, allocations: 330.8 kB / 1.035 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.5347, allocations: 64.42 kB / 1.035 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.5349, allocations: 140.2 kB / 1.036 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.5354, allocations: 218.7 kB / 1.036 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5354, allocations: 0 / 1.036 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005459/0.5359, allocations: 258.4 kB / 1.036 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.536, allocations: 13.5 kB / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.536, allocations: 0 / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.536, allocations: 4 kB / 1.036 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.5363, allocations: 63.89 kB / 1.036 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.5363, allocations: 4 kB / 1.036 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.5365, allocations: 31.77 kB / 1.036 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.5366, allocations: 16.08 kB / 1.036 GB, free: 2.086 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 9.663e-05/0.5367, allocations: 133.7 kB / 1.036 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.5367, allocations: 15.81 kB / 1.036 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.5373, allocations: 230.6 kB / 1.037 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5373, allocations: 4 kB / 1.037 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5373, allocations: 0 / 1.037 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5373, allocations: 0 / 1.037 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.5376, allocations: 257.5 kB / 1.037 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5376, allocations: 11.94 kB / 1.037 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.5378, allocations: 43.91 kB / 1.037 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5379, allocations: 4 kB / 1.037 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.5379, allocations: 4 kB / 1.037 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5379, allocations: 3.984 kB / 1.037 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5379, allocations: 0 / 1.037 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.5384, allocations: 301.1 kB / 1.037 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.5385, allocations: 104.8 kB / 1.037 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.5385, allocations: 8 kB / 1.037 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.5388, allocations: 15.98 kB / 1.037 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.5388, allocations: 11.98 kB / 1.037 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.5388, allocations: 11.98 kB / 1.037 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.5389, allocations: 120.9 kB / 1.037 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5389, allocations: 0 / 1.037 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003063/0.5392, allocations: 60 kB / 1.037 GB, free: 0.6719 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.0007898/0.54, allocations: 0.8657 MB / 1.038 GB, free: 15.78 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004688/0.5405, allocations: 179.7 kB / 1.038 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5405, allocations: 3.938 kB / 1.038 GB, free: 15.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.5407, allocations: 89.78 kB / 1.039 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.5412, allocations: 60.56 kB / 1.039 GB, free: 15.46 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.5441, allocations: 2.245 MB / 1.041 GB, free: 13.07 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.5444, allocations: 0.7134 MB / 1.041 GB, free: 12.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006174/0.5451, allocations: 53.92 kB / 1.042 GB, free: 12.28 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.5453, allocations: 47.41 kB / 1.042 GB, free: 12.23 MB / 0.795 GB Notification: Performance of SimCode: time 5.81e-07/0.5453, allocations: 4 kB / 1.042 GB, free: 12.23 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.729/2.274, allocations: 4.824 MB / 1.046 GB, free: 7.617 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/2.275, allocations: 239.3 kB / 1.047 GB, free: 7.363 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/4.405, allocations: 64 / 1.047 GB, free: 7.363 MB / 0.795 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=50 --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