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.004339/0.004339, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001081/0.001081, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.54/2.54, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 59.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2686, allocations: 151.6 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004754/0.2734, allocations: 4.044 MB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002549/0.276, allocations: 2.434 MB / 1.173 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.2761, allocations: 8 kB / 1.173 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.2763, allocations: 43.69 kB / 1.173 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.2765, allocations: 103.3 kB / 1.173 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.2776, allocations: 0.5326 MB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.2779, allocations: 251.9 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.278, allocations: 13.55 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.2782, allocations: 123.5 kB / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2783, allocations: 95.64 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2783, allocations: 8 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007825/0.2791, allocations: 455.2 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.2792, allocations: 43.83 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.907e-05/0.2793, allocations: 79.66 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000582/0.2799, allocations: 418.9 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2799, allocations: 8 kB / 1.175 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.103e-06/0.2799, allocations: 0 / 1.175 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2799, allocations: 0 / 1.175 GB, free: 14.58 MB / 0.9356 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.0006669/0.2806, allocations: 0.5025 MB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.2806, allocations: 11.97 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.2807, allocations: 58.73 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.2826, allocations: 176.6 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.2829, allocations: 208.2 kB / 1.176 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.2829, allocations: 8.703 kB / 1.176 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.283, allocations: 20.36 kB / 1.176 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.2836, allocations: 304.2 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2836, allocations: 4 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.2837, allocations: 8 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.2837, allocations: 11.94 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007241/0.2844, allocations: 260.1 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.2859, allocations: 1.385 MB / 1.178 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.2866, allocations: 194.7 kB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.2869, allocations: 80.72 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.2869, allocations: 8 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.2869, allocations: 30.56 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.2869, allocations: 0 / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0007833/0.2877, allocations: 256 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.2878, allocations: 51.41 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2879, allocations: 165.3 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.2879, allocations: 29.7 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.288, allocations: 136.1 kB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.2881, allocations: 67.47 kB / 1.178 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.2881, allocations: 57.81 kB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.2883, allocations: 326.8 kB / 1.179 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2885, allocations: 64.42 kB / 1.179 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.2888, allocations: 139 kB / 1.179 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.2893, allocations: 217.2 kB / 1.179 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2893, allocations: 0 / 1.179 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006046/0.2899, allocations: 247.1 kB / 1.179 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2899, allocations: 16.25 kB / 1.179 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2899, allocations: 0 / 1.179 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2899, allocations: 4 kB / 1.18 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.2903, allocations: 67.89 kB / 1.18 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2903, allocations: 11.92 kB / 1.18 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.2905, allocations: 27.78 kB / 1.18 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.2906, allocations: 15.98 kB / 1.18 GB, free: 9.09 MB / 0.9356 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.0001189/0.2907, allocations: 133.7 kB / 1.18 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.2908, allocations: 15.91 kB / 1.18 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000638/0.2914, allocations: 226.7 kB / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2914, allocations: 0 / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2914, allocations: 0 / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2914, allocations: 4 kB / 1.18 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.2917, allocations: 241.4 kB / 1.18 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2917, allocations: 0 / 1.18 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.292, allocations: 47.91 kB / 1.18 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.292, allocations: 4 kB / 1.18 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.2921, allocations: 11.98 kB / 1.18 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.2921, allocations: 4 kB / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2921, allocations: 0 / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.2927, allocations: 301.4 kB / 1.181 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.2928, allocations: 109 kB / 1.181 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.2928, allocations: 4 kB / 1.181 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.2931, allocations: 15.98 kB / 1.181 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.2931, allocations: 19.91 kB / 1.181 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.2932, allocations: 4 kB / 1.181 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.863e-05/0.2932, allocations: 121.7 kB / 1.181 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2932, allocations: 0 / 1.181 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003515/0.2936, allocations: 63.94 kB / 1.181 GB, free: 7.695 MB / 0.9356 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.0008773/0.2945, allocations: 0.8683 MB / 1.182 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005392/0.295, allocations: 178.6 kB / 1.182 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.295, allocations: 4 kB / 1.182 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.2953, allocations: 87.84 kB / 1.182 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.2958, allocations: 63.88 kB / 1.182 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.2988, allocations: 2.167 MB / 1.184 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.299, allocations: 0.7173 MB / 1.185 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.2993, allocations: 53.86 kB / 1.185 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2994, allocations: 47.41 kB / 1.185 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2994, allocations: 0 / 1.185 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.3204, allocations: 5.199 MB / 1.19 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/7.917, allocations: 7.5 kB / 1.19 GB, free: 14.3 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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