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.007329/0.00733, allocations: 98.56 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.002107/0.002107, allocations: 196 kB / 16.68 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.45/1.45, 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 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437.1 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2676, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002254/0.2699, allocations: 1.254 MB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003192/0.2731, allocations: 2.511 MB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.2731, allocations: 0 / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.2731, allocations: 3.938 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.2732, allocations: 3.938 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.2737, allocations: 127.4 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.2737, allocations: 39.91 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.95e-05/0.2738, allocations: 3.984 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.441e-05/0.2738, allocations: 19.94 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.2739, allocations: 11.97 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2739, allocations: 7.938 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003011/0.2742, allocations: 111.8 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.2742, allocations: 15.92 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.2743, allocations: 15.92 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.2745, allocations: 88.06 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2745, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.236e-06/0.2745, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2745, allocations: 3.938 kB / 1.17 GB, free: 3.125 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.0004289/0.2749, allocations: 347.4 kB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.275, allocations: 12.02 kB / 1.171 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.275, allocations: 30.75 kB / 1.171 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.2752, allocations: 16.94 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2754, allocations: 172.3 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2754, allocations: 384 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.2754, allocations: 8.328 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.2756, allocations: 76.17 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2756, allocations: 4 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.2756, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2756, allocations: 3.938 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.2756, allocations: 19.94 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.2763, allocations: 470.9 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.2764, allocations: 71.66 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.2765, allocations: 22.64 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2765, allocations: 8 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.2765, allocations: 34.64 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2765, allocations: 0 / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006198/0.2771, allocations: 306.7 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.2772, allocations: 106.8 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.2773, allocations: 97.84 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2773, allocations: 29.7 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.2774, allocations: 88.03 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.2774, allocations: 27.8 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.2775, allocations: 25.72 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2776, allocations: 322.8 kB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.2777, allocations: 15.94 kB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.2777, allocations: 57.08 kB / 1.173 GB, free: 464 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.2778, allocations: 77.08 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2778, allocations: 0 / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001465/0.278, allocations: 93.5 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.278, allocations: 8 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.278, allocations: 0 / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.278, allocations: 0 / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.2781, allocations: 28.06 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2781, allocations: 0 / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.2782, allocations: 11.98 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2782, allocations: 7.938 kB / 1.173 GB, free: 212 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 9.21e-05/0.2783, allocations: 117.8 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.2784, allocations: 0 / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.2784, allocations: 11.56 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2784, allocations: 0 / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2784, allocations: 0 / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2784, allocations: 8 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.2788, allocations: 181.6 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2788, allocations: 0 / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.543e-05/0.2789, allocations: 19.92 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.2789, allocations: 4 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.279, allocations: 0 / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.279, allocations: 0 / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.279, allocations: 4 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.2793, allocations: 337.9 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.2793, allocations: 89.48 kB / 1.173 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.2793, allocations: 4.031 kB / 1.173 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.2795, allocations: 4 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.2796, allocations: 7.938 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2796, allocations: 8 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.2796, allocations: 83.25 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2796, allocations: 7.938 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003313/0.28, allocations: 16 kB / 1.174 GB, free: 15.22 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.0005732/0.2806, allocations: 0.8595 MB / 1.174 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.2807, allocations: 43.92 kB / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2807, allocations: 0 / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-05/0.2807, allocations: 15.94 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.2812, allocations: 15.92 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.2829, allocations: 1.696 MB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.2833, allocations: 0.6846 MB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.917e-05/0.2834, allocations: 15.84 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.2834, allocations: 12.84 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2834, allocations: 0 / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.3059, allocations: 1.714 MB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.152, allocations: 4.391 kB / 1.179 GB, free: 10.18 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