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.006921/0.006921, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001756/0.001756, allocations: 190 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.293 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.355/2.355, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 65.48 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2257, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001906/0.2277, allocations: 1.272 MB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.2303, allocations: 2.489 MB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.2303, allocations: 4 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.2304, allocations: 3.938 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.2304, allocations: 7.969 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.2309, allocations: 131.3 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.231, allocations: 35.84 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.022e-05/0.231, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.231, allocations: 15.98 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.2311, allocations: 23.91 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.747e-06/0.2311, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.2314, allocations: 119.7 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.2314, allocations: 3.984 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.2314, allocations: 19.94 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.2316, allocations: 82.64 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2316, allocations: 4 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2316, allocations: 0 / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2317, allocations: 0 / 1.092 GB, free: 13.79 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.0003443/0.232, allocations: 352.3 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.232, allocations: 12.03 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.2321, allocations: 34.75 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.2323, allocations: 16.83 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.2324, allocations: 164.4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2324, allocations: 384 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.2324, allocations: 16.31 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.2325, allocations: 76.12 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2326, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2326, allocations: 3.938 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2326, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.5e-05/0.2326, allocations: 7.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.2331, allocations: 466.9 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2333, allocations: 71.72 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.2333, allocations: 30.72 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.2333, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2334, allocations: 38.5 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.2334, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005394/0.2339, allocations: 310.6 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.234, allocations: 106.8 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.234, allocations: 97.86 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.234, allocations: 29.7 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.2341, allocations: 88.03 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.2341, allocations: 27.56 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.2342, allocations: 29.7 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.2342, allocations: 318.8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.2343, allocations: 15.98 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/0.2343, allocations: 53.09 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.257e-05/0.2344, allocations: 73.08 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2344, allocations: 4 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001277/0.2346, allocations: 93.55 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2346, allocations: 5.719 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2346, allocations: 4 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2346, allocations: 0 / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.2347, allocations: 24.05 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.2347, allocations: 7.938 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/0.2347, allocations: 8.062 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.2348, allocations: 7.938 kB / 1.094 GB, free: 10.87 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.558e-05/0.2348, allocations: 113.8 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.2349, allocations: 7.906 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.2349, allocations: 7.562 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2349, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2349, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2349, allocations: 3.984 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.2353, allocations: 181.6 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2353, allocations: 8 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.742e-05/0.2354, allocations: 15.94 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2354, allocations: 0 / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.2354, allocations: 4 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2354, allocations: 3.984 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2354, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.2356, allocations: 334 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.2357, allocations: 89.05 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.2357, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2359, allocations: 4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.2359, allocations: 16.23 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2359, allocations: 4 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.237e-05/0.2359, allocations: 83.27 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.236, allocations: 0 / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003258/0.2363, allocations: 16 kB / 1.095 GB, free: 9.898 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.0004077/0.2367, allocations: 0.8638 MB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.2368, allocations: 47.97 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2368, allocations: 0 / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.2369, allocations: 23.92 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.2373, allocations: 9.156 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2386, allocations: 1.704 MB / 1.097 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.2389, allocations: 0.6846 MB / 1.098 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.356e-05/0.2389, allocations: 4 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.239, allocations: 23.38 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.239, allocations: 0 / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.2552, allocations: 1.708 MB / 1.1 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/7.405, allocations: 16.89 kB / 1.1 GB, free: 4.824 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