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.0076/0.0076, allocations: 97.19 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.001905/0.001905, allocations: 193.1 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.304/2.304, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 61.78 kB / 0.9504 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2208, allocations: 140.4 MB / 1.088 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004905/0.2257, allocations: 4.047 MB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.2283, allocations: 2.422 MB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.2284, allocations: 4 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.2287, allocations: 51.67 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.229, allocations: 103.3 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.2303, allocations: 0.531 MB / 1.095 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000312/0.2306, allocations: 255.9 kB / 1.095 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.2307, allocations: 13.56 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.2309, allocations: 119.5 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.231, allocations: 91.66 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.2311, allocations: 8 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008647/0.2319, allocations: 459.2 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.232, allocations: 39.88 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.415e-05/0.2321, allocations: 79.66 kB / 1.096 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007201/0.2328, allocations: 415 kB / 1.096 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2329, allocations: 0 / 1.096 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2329, allocations: 4 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.2329, allocations: 0 / 1.096 GB, free: 9.434 MB / 0.8575 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.0007081/0.2336, allocations: 0.5141 MB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2336, allocations: 8.031 kB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.2337, allocations: 50.73 kB / 1.097 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.2358, allocations: 180.6 kB / 1.097 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.2361, allocations: 208.2 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2361, allocations: 8.703 kB / 1.097 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.2362, allocations: 16.38 kB / 1.097 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.2368, allocations: 308.2 kB / 1.097 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2368, allocations: 0 / 1.097 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.2369, allocations: 15.94 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.2369, allocations: 11.98 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/0.2376, allocations: 260.1 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.2392, allocations: 1.389 MB / 1.099 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.2399, allocations: 202.4 kB / 1.099 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.2402, allocations: 76.81 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.2402, allocations: 4 kB / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2402, allocations: 34.56 kB / 1.099 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.2402, allocations: 0 / 1.099 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.000804/0.241, allocations: 247.1 kB / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2411, allocations: 59.34 kB / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2412, allocations: 159.2 kB / 1.1 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.2412, allocations: 25.7 kB / 1.1 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.2413, allocations: 140.2 kB / 1.1 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.2414, allocations: 63.44 kB / 1.1 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/0.2415, allocations: 53.92 kB / 1.1 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.2416, allocations: 330.8 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.2418, allocations: 64.42 kB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.2421, allocations: 138.3 kB / 1.1 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.2426, allocations: 215.2 kB / 1.101 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2426, allocations: 11.92 kB / 1.101 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006084/0.2432, allocations: 245.3 kB / 1.101 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2432, allocations: 8 kB / 1.101 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2432, allocations: 320 / 1.101 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2433, allocations: 8 kB / 1.101 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.2436, allocations: 63.89 kB / 1.101 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.2437, allocations: 11.92 kB / 1.101 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.2439, allocations: 27.84 kB / 1.101 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.244, allocations: 11.98 kB / 1.101 GB, free: 3.934 MB / 0.8575 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.0001131/0.2441, allocations: 141.6 kB / 1.101 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.2441, allocations: 19.91 kB / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.2448, allocations: 228.4 kB / 1.101 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2448, allocations: 0 / 1.101 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2448, allocations: 4 kB / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2448, allocations: 0 / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.2451, allocations: 241.3 kB / 1.102 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2451, allocations: 4 kB / 1.102 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.2454, allocations: 47.91 kB / 1.102 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2454, allocations: 0 / 1.102 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.2455, allocations: 11.98 kB / 1.102 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2455, allocations: 0 / 1.102 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2455, allocations: 0 / 1.102 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.246, allocations: 295.2 kB / 1.102 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2462, allocations: 105 kB / 1.102 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.2462, allocations: 4 kB / 1.102 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.2465, allocations: 23.97 kB / 1.102 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.2465, allocations: 7.984 kB / 1.102 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.2466, allocations: 12 kB / 1.102 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.59e-05/0.2466, allocations: 114.7 kB / 1.102 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2466, allocations: 0 / 1.102 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003638/0.247, allocations: 67.89 kB / 1.102 GB, free: 2.535 MB / 0.8575 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.0008997/0.2479, allocations: 0.8687 MB / 1.103 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005502/0.2485, allocations: 183.7 kB / 1.103 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2485, allocations: 0.625 kB / 1.103 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.2488, allocations: 93.95 kB / 1.103 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.2492, allocations: 62 kB / 1.103 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.2523, allocations: 2.169 MB / 1.105 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.2526, allocations: 0.7212 MB / 1.106 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002635/0.2529, allocations: 49.92 kB / 1.106 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.253, allocations: 51.41 kB / 1.106 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.253, allocations: 0 / 1.106 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.2734, allocations: 5.197 MB / 1.111 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.67, allocations: 7.688 kB / 1.111 GB, free: 9.137 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