Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.001307/0.001307, allocations: 108 kB / 15.61 MB, free: 152 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.001308/0.001307, allocations: 197 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.543/2.543, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4812, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002165/0.4834, allocations: 1.264 MB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002679/0.4861, allocations: 2.495 MB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.4861, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.4861, allocations: 7.875 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.481e-05/0.4862, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.4867, allocations: 131.4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.037e-05/0.4868, allocations: 35.84 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.4868, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.659e-05/0.4868, allocations: 15.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.4869, allocations: 15.92 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.4869, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.4872, allocations: 115.7 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.4872, allocations: 8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.4873, allocations: 23.91 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.4874, allocations: 82.09 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.4875, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4875, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.4875, allocations: 0 / 1.022 GB, free: 14.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000334/0.4878, allocations: 363.4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.4879, allocations: 8.031 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.4879, allocations: 42.75 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.4881, allocations: 8.938 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.115e-05/0.4882, allocations: 168.4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.4882, allocations: 8.312 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.4882, allocations: 12.28 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.4883, allocations: 80.06 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.4884, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.4884, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.4884, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.4884, allocations: 11.94 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.4889, allocations: 474.9 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.4891, allocations: 71.78 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.4891, allocations: 26.58 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.4891, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.4891, allocations: 38.58 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 2.154e-06/0.4892, allocations: 3.984 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005412/0.4897, allocations: 306.3 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4898, allocations: 102.8 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.317e-05/0.4898, allocations: 101.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.4898, allocations: 25.7 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.4899, allocations: 88.05 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.4899, allocations: 23.64 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.4899, allocations: 25.72 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.49, allocations: 330.8 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.4901, allocations: 8 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.4901, allocations: 53.14 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/0.4902, allocations: 77.02 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4902, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001295/0.4903, allocations: 93.45 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4904, allocations: 8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4904, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4904, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.4905, allocations: 24.06 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4905, allocations: 7.984 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.4905, allocations: 4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4905, allocations: 11.88 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.468e-05/0.4906, allocations: 113.8 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.4907, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.4907, allocations: 7.562 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4907, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4907, allocations: 4 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4907, allocations: 4 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.4911, allocations: 186 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4911, allocations: 64 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.091e-05/0.4912, allocations: 23.98 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4912, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.4912, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4912, allocations: 11.88 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4912, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.4914, allocations: 334 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.4915, allocations: 81.11 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4915, allocations: 12.02 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.4917, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.855e-05/0.4917, allocations: 11.94 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4917, allocations: 4 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.838e-05/0.4917, allocations: 83.2 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4918, allocations: 4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003305/0.4921, allocations: 16 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0003983/0.4925, allocations: 0.8518 MB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.4926, allocations: 47.86 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4926, allocations: 0 / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.4926, allocations: 23.92 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.4931, allocations: 9.062 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4945, allocations: 1.693 MB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.4947, allocations: 0.6807 MB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.485e-05/0.4947, allocations: 8 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.4948, allocations: 23.36 kB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.4948, allocations: 0 / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.5116, allocations: 1.671 MB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/7.387, allocations: 12.14 kB / 1.03 GB, free: 5.332 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches