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.001556/0.001556, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.545/2.545, allocations: 437 MB / 0.7104 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.89 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5143, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004905/0.5193, allocations: 4.055 MB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.5217, allocations: 2.426 MB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.5218, allocations: 0 / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.522, allocations: 51.67 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.5222, allocations: 99.34 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.5233, allocations: 0.5183 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.5235, allocations: 267.8 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.5236, allocations: 9.562 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.5238, allocations: 123.5 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.5239, allocations: 95.66 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.5239, allocations: 11.94 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007403/0.5247, allocations: 447.2 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.5247, allocations: 43.88 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/0.5248, allocations: 83.66 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.5254, allocations: 401.3 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5254, allocations: 0 / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5254, allocations: 0 / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.5254, allocations: 8 kB / 1.026 GB, free: 9.809 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.0006704/0.5261, allocations: 0.5031 MB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.5262, allocations: 8.031 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.5262, allocations: 58.67 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.5282, allocations: 176.5 kB / 1.027 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.5285, allocations: 220 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.5285, allocations: 12.7 kB / 1.027 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.5285, allocations: 16.38 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.5292, allocations: 300.2 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5292, allocations: 0 / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.5292, allocations: 8 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.5292, allocations: 8 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.53, allocations: 259.6 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.5315, allocations: 1.389 MB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.5322, allocations: 191.9 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.5324, allocations: 80.8 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.5325, allocations: 8 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.5325, allocations: 30.56 kB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.945e-06/0.5325, allocations: 7.922 kB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008014/0.5333, allocations: 251 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.5333, allocations: 51.41 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.5335, allocations: 159.9 kB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.5335, allocations: 29.7 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.5336, allocations: 128 kB / 1.03 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.5336, allocations: 71.08 kB / 1.03 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.5337, allocations: 49.84 kB / 1.03 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.5338, allocations: 326.8 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.5341, allocations: 68.41 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.5343, allocations: 139.3 kB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.5348, allocations: 215 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5348, allocations: 0 / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006214/0.5355, allocations: 249.1 kB / 1.031 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.5355, allocations: 8.25 kB / 1.031 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5355, allocations: 8 kB / 1.031 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5355, allocations: 4 kB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.5359, allocations: 67.89 kB / 1.031 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.5359, allocations: 4 kB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.5362, allocations: 27.67 kB / 1.031 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.5362, allocations: 19.98 kB / 1.031 GB, free: 4.336 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 0.0001086/0.5363, allocations: 133.7 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.5364, allocations: 19.81 kB / 1.031 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006648/0.5371, allocations: 230.6 kB / 1.031 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5371, allocations: 0 / 1.031 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5371, allocations: 0 / 1.031 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5371, allocations: 3.984 kB / 1.031 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.5374, allocations: 249.3 kB / 1.031 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5374, allocations: 3.984 kB / 1.031 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.5377, allocations: 47.91 kB / 1.031 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5377, allocations: 4 kB / 1.031 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.5377, allocations: 8 kB / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5377, allocations: 0 / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5378, allocations: 0 / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.5383, allocations: 300.4 kB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/0.5384, allocations: 104.9 kB / 1.032 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.5385, allocations: 4 kB / 1.032 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.5388, allocations: 15.98 kB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.5388, allocations: 11.98 kB / 1.032 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.5388, allocations: 11.98 kB / 1.032 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.5389, allocations: 117.3 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5389, allocations: 0 / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003617/0.5393, allocations: 64.03 kB / 1.032 GB, free: 2.934 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.0008733/0.5402, allocations: 0.8675 MB / 1.033 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005684/0.5408, allocations: 197.7 kB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5408, allocations: 4 kB / 1.033 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.541, allocations: 89.95 kB / 1.033 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.5415, allocations: 55.89 kB / 1.033 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.5446, allocations: 2.145 MB / 1.035 GB, free: 15.42 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.5448, allocations: 0.7212 MB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003485/0.5452, allocations: 45.94 kB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.5453, allocations: 47.41 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.5453, allocations: 4 kB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.5669, allocations: 5.152 MB / 1.041 GB, free: 9.598 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.724, allocations: 11.73 kB / 1.041 GB, free: 9.59 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 & 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