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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_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.00746/0.00746, allocations: 102 kB / 15.73 MB, free: 6.043 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.001892/0.001892, allocations: 196.2 kB / 16.67 MB, free: 5.965 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.188/2.188, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 55.91 kB / 0.9504 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.631/0.6323, allocations: 140.4 MB / 1.088 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004529/0.6369, allocations: 4.055 MB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.6392, allocations: 2.422 MB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.6393, allocations: 1.875 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.6396, allocations: 45.66 kB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.6398, allocations: 102.8 kB / 1.094 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.6411, allocations: 0.5262 MB / 1.095 GB, free: 304 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.6415, allocations: 256.9 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.6415, allocations: 13.75 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.6418, allocations: 122 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.6419, allocations: 90.62 kB / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.6419, allocations: 8.688 kB / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009797/0.6429, allocations: 459.4 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.083e-05/0.643, allocations: 39.97 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.6431, allocations: 84.44 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008074/0.644, allocations: 408.1 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.644, allocations: 4.609 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.092e-06/0.644, allocations: 0 / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.644, allocations: 0.5 kB / 1.096 GB, free: 15.73 MB / 0.8731 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.0007818/0.6448, allocations: 0.5056 MB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6448, allocations: 9.5 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.6449, allocations: 48.59 kB / 1.096 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.647, allocations: 179.9 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.6473, allocations: 211.9 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.6473, allocations: 10.52 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.6474, allocations: 14.94 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.6481, allocations: 310.9 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6481, allocations: 1.406 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.6481, allocations: 15.34 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.6482, allocations: 5.469 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000796/0.649, allocations: 263.4 kB / 1.097 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.6506, allocations: 1.385 MB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.6513, allocations: 194.6 kB / 1.099 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.6516, allocations: 81.92 kB / 1.099 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.6516, allocations: 2 kB / 1.099 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.6517, allocations: 41.22 kB / 1.099 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.6517, allocations: 0 / 1.099 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.000839/0.6525, allocations: 250.1 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.6525, allocations: 53.94 kB / 1.099 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.6527, allocations: 161.7 kB / 1.1 GB, free: 13 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.6527, allocations: 30.89 kB / 1.1 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.6528, allocations: 123.6 kB / 1.1 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/0.6529, allocations: 68.92 kB / 1.1 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/0.653, allocations: 45.41 kB / 1.1 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.6531, allocations: 334.8 kB / 1.1 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.6533, allocations: 60.95 kB / 1.1 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.6536, allocations: 146.9 kB / 1.1 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.6541, allocations: 217.7 kB / 1.101 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6541, allocations: 1.062 kB / 1.101 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006553/0.6548, allocations: 253.3 kB / 1.101 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6548, allocations: 6.672 kB / 1.101 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6548, allocations: 6.719 kB / 1.101 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.6549, allocations: 3.594 kB / 1.101 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.6552, allocations: 67.31 kB / 1.101 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.6553, allocations: 8.391 kB / 1.101 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.6555, allocations: 34.06 kB / 1.101 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.6556, allocations: 9.797 kB / 1.101 GB, free: 12.01 MB / 0.8731 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.0001247/0.6557, allocations: 135 kB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.6557, allocations: 13.06 kB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.6564, allocations: 225.5 kB / 1.101 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6564, allocations: 2.656 kB / 1.101 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6564, allocations: 0.7188 kB / 1.101 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6564, allocations: 0.8438 kB / 1.101 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.6567, allocations: 248 kB / 1.101 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6568, allocations: 0 / 1.101 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.6571, allocations: 51.47 kB / 1.102 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6571, allocations: 1.562 kB / 1.102 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.6571, allocations: 3.422 kB / 1.102 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6571, allocations: 5.188 kB / 1.102 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6571, allocations: 0.7031 kB / 1.102 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.6577, allocations: 296.1 kB / 1.102 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.6579, allocations: 110 kB / 1.102 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.6579, allocations: 1.312 kB / 1.102 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.6582, allocations: 25.34 kB / 1.102 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.6582, allocations: 9.672 kB / 1.102 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.6583, allocations: 12.23 kB / 1.102 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.692e-05/0.6584, allocations: 115.2 kB / 1.102 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6584, allocations: 4.719 kB / 1.102 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003848/0.6588, allocations: 59.72 kB / 1.102 GB, free: 11.12 MB / 0.8731 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.0009472/0.6597, allocations: 0.8748 MB / 1.103 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005647/0.6603, allocations: 181 kB / 1.103 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6603, allocations: 0 / 1.103 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.6606, allocations: 93.31 kB / 1.103 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.6611, allocations: 54.3 kB / 1.103 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.6644, allocations: 2.161 MB / 1.105 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.6647, allocations: 0.7219 MB / 1.106 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002719/0.665, allocations: 50.55 kB / 1.106 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.6651, allocations: 47.42 kB / 1.106 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of SimCode: time 2.7e-07/0.6651, allocations: 0 / 1.106 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.6873, allocations: 5.199 MB / 1.111 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/8.076, allocations: 8.906 kB / 1.111 GB, free: 7.273 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/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