Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_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.007699/0.007699, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001918/0.001918, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 57.64 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2222, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002024/0.2243, allocations: 1.25 MB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.2271, allocations: 2.497 MB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.2271, allocations: 0 / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.2271, allocations: 3.984 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.17e-05/0.2272, allocations: 7.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.2277, allocations: 139.3 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.2278, allocations: 27.92 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 2.996e-05/0.2278, allocations: 4 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.2279, allocations: 23.91 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.2279, allocations: 19.92 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.2279, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.2282, allocations: 123.8 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.2283, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.2283, allocations: 15.92 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.2285, allocations: 84 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2285, allocations: 0 / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2285, allocations: 7.984 kB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2285, allocations: 0 / 1.092 GB, free: 13.81 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003412/0.2289, allocations: 339.4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2289, allocations: 12.03 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.2289, allocations: 42.69 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.2292, allocations: 16.88 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.626e-05/0.2292, allocations: 160.4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2293, allocations: 8.375 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.2293, allocations: 8.359 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.2294, allocations: 72.14 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.2294, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2295, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2295, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.76e-05/0.2295, allocations: 15.92 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.23, allocations: 470.8 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.2302, allocations: 79.72 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.2302, allocations: 18.64 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.2302, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2303, allocations: 38.56 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2303, allocations: 4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005404/0.2308, allocations: 306.3 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.2309, allocations: 106.8 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.2309, allocations: 102.2 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2309, allocations: 33.64 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.231, allocations: 96.28 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.231, allocations: 23.84 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.2311, allocations: 25.67 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.2312, allocations: 318.8 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.2312, allocations: 15.98 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.938e-05/0.2312, allocations: 49.14 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.2313, allocations: 73.27 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2313, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001334/0.2315, allocations: 97.55 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2315, allocations: 8.125 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2315, allocations: 4 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2315, allocations: 3.984 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.2316, allocations: 19.94 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2316, allocations: 4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.2317, allocations: 3.938 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.2317, allocations: 11.94 kB / 1.094 GB, free: 10.89 MB / 0.8575 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.611e-05/0.2317, allocations: 117.8 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.2318, allocations: 11.94 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.2318, allocations: 15.5 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2319, allocations: 4 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2319, allocations: 0 / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.2319, allocations: 0 / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.2322, allocations: 173.6 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2322, allocations: 0 / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.07e-05/0.2323, allocations: 19.98 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2323, allocations: 0 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2323, allocations: 8 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2323, allocations: 0 / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2324, allocations: 0 / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.2326, allocations: 338 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.2326, allocations: 81.11 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.2326, allocations: 4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2328, allocations: 7.984 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.2328, allocations: 8 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.2329, allocations: 8 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.062e-05/0.2329, allocations: 83.28 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2329, allocations: 0 / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003216/0.2332, allocations: 11.94 kB / 1.095 GB, free: 9.926 MB / 0.8575 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.0004369/0.2337, allocations: 0.8682 MB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.2338, allocations: 40.02 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2338, allocations: 4 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.2338, allocations: 19.94 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.2342, allocations: 12.31 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.2356, allocations: 1.707 MB / 1.097 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.2359, allocations: 0.6846 MB / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.2359, allocations: 4 kB / 1.098 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.236, allocations: 19.42 kB / 1.098 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.236, allocations: 0 / 1.098 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2534, allocations: 1.717 MB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/7.5, allocations: 12.12 kB / 1.1 GB, free: 4.844 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches