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.007574/0.007574, allocations: 97.39 kB / 15.73 MB, free: 6.035 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.001907/0.001907, allocations: 202 kB / 16.68 MB, free: 5.961 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.513/2.513, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2357, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002099/0.2378, allocations: 1.26 MB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.2406, allocations: 2.511 MB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.2406, allocations: 0 / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.2406, allocations: 0 / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/0.2407, allocations: 7.875 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.2412, allocations: 135.4 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.2413, allocations: 39.84 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.2413, allocations: 4 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.2414, allocations: 15.92 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.2414, allocations: 19.97 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.2415, allocations: 0 / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.2417, allocations: 115.8 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.2418, allocations: 11.92 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.2418, allocations: 11.94 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.242, allocations: 88 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.242, allocations: 7.984 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.414e-06/0.242, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.242, allocations: 7.938 kB / 1.17 GB, free: 3.035 MB / 0.92 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.0003503/0.2424, allocations: 343.4 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2424, allocations: 8.031 kB / 1.171 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.2425, allocations: 38.73 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.2427, allocations: 8.938 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.772e-05/0.2428, allocations: 160.4 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2428, allocations: 12.38 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.2428, allocations: 12.31 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.2429, allocations: 76.12 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.243, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.243, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.243, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.243, allocations: 11.98 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.2436, allocations: 474.8 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.2437, allocations: 71.72 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.2437, allocations: 22.64 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.2437, allocations: 0 / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.2438, allocations: 38.56 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 2.835e-06/0.2438, allocations: 0 / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0005442/0.2443, allocations: 302.5 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.2444, allocations: 110.8 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.2445, allocations: 98.17 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2445, allocations: 29.7 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.2445, allocations: 92.03 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.2445, allocations: 27.8 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.2446, allocations: 25.72 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.2447, allocations: 318.8 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.2447, allocations: 19.92 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.2448, allocations: 49.14 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.2449, allocations: 85.2 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.2449, allocations: 4 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001285/0.245, allocations: 97.5 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.245, allocations: 4 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.245, allocations: 0 / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.245, allocations: 7.984 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.2451, allocations: 16 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.2451, allocations: 8.125 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.2452, allocations: 4 kB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.2452, allocations: 7.938 kB / 1.173 GB, free: 132 kB / 0.92 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 8.175e-05/0.2453, allocations: 125.8 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.2453, allocations: 4 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.2454, allocations: 7.562 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2454, allocations: 4 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2454, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2454, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.2457, allocations: 181.5 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2458, allocations: 0 / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.039e-05/0.2458, allocations: 23.98 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2459, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.2459, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2459, allocations: 4 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2459, allocations: 0 / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.2461, allocations: 333.9 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.2462, allocations: 81.06 kB / 1.173 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2462, allocations: 8 kB / 1.173 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2464, allocations: 8.031 kB / 1.173 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.2464, allocations: 3.938 kB / 1.173 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2464, allocations: 4 kB / 1.173 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.2464, allocations: 83.28 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2464, allocations: 3.938 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003232/0.2468, allocations: 12 kB / 1.174 GB, free: 15.16 MB / 0.9356 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.0004083/0.2472, allocations: 0.8677 MB / 1.174 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2473, allocations: 43.86 kB / 1.174 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2473, allocations: 8 kB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.2473, allocations: 12 kB / 1.174 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.2478, allocations: 20.22 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.2492, allocations: 1.696 MB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.2495, allocations: 0.6846 MB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.318e-05/0.2496, allocations: 7.859 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.2496, allocations: 19.42 kB / 1.177 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.2496, allocations: 0 / 1.177 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.273, allocations: 1.718 MB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.597, allocations: 4.391 kB / 1.179 GB, free: 10.09 MB / 0.9356 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