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.001327/0.001327, allocations: 108 kB / 15.6 MB, free: 132 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.00132/0.00132, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.322/2.322, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 63.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4923, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001894/0.4942, allocations: 1.254 MB / 0.9509 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.4963, allocations: 2.493 MB / 0.9534 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.4963, allocations: 0 / 0.9534 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.4964, allocations: 7.922 kB / 0.9534 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.517e-05/0.4964, allocations: 5.25 kB / 0.9534 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.4968, allocations: 131.3 kB / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.335e-05/0.4969, allocations: 32.95 kB / 0.9536 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.825e-05/0.4969, allocations: 2.375 kB / 0.9536 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/0.497, allocations: 26.28 kB / 0.9536 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.497, allocations: 18.42 kB / 0.9536 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.4971, allocations: 1.469 kB / 0.9536 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.4973, allocations: 121.9 kB / 0.9537 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.4973, allocations: 6.328 kB / 0.9537 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.4974, allocations: 18.17 kB / 0.9537 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.4975, allocations: 79.25 kB / 0.9538 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4976, allocations: 1.531 kB / 0.9538 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4976, allocations: 0 / 0.9538 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.4976, allocations: 0 / 0.9538 GB, free: 5.902 MB / 0.7169 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.0002777/0.4979, allocations: 356.9 kB / 0.9542 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.4979, allocations: 10.16 kB / 0.9542 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.344e-05/0.4979, allocations: 40 kB / 0.9542 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.4981, allocations: 14.42 kB / 0.9542 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.125e-05/0.4982, allocations: 161.5 kB / 0.9544 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.4982, allocations: 1.594 kB / 0.9544 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.4982, allocations: 8.031 kB / 0.9544 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.4983, allocations: 76.72 kB / 0.9545 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.4983, allocations: 1.156 kB / 0.9545 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4984, allocations: 5.438 kB / 0.9545 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4984, allocations: 0 / 0.9545 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.479e-05/0.4984, allocations: 14.42 kB / 0.9545 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.4988, allocations: 470.8 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.4989, allocations: 74.44 kB / 0.955 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.499, allocations: 22.7 kB / 0.955 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.499, allocations: 1.562 kB / 0.955 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.499, allocations: 35.97 kB / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.499, allocations: 4 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004891/0.4995, allocations: 311.1 kB / 0.9554 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.4995, allocations: 104.9 kB / 0.9555 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.71e-05/0.4996, allocations: 101.1 kB / 0.9555 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.4996, allocations: 26.83 kB / 0.9556 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.144e-05/0.4996, allocations: 98.03 kB / 0.9557 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.4996, allocations: 30.44 kB / 0.9557 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.4997, allocations: 25.55 kB / 0.9557 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.101e-05/0.4997, allocations: 320.7 kB / 0.956 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.4997, allocations: 15.42 kB / 0.956 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.432e-05/0.4998, allocations: 49.64 kB / 0.9561 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/0.4999, allocations: 74.44 kB / 0.9562 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4999, allocations: 0 / 0.9562 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001175/0.5, allocations: 99.17 kB / 0.9563 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.5, allocations: 9.625 kB / 0.9563 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5, allocations: 1.188 kB / 0.9563 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.5, allocations: 2.281 kB / 0.9563 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.5001, allocations: 20.36 kB / 0.9563 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.5001, allocations: 5.969 kB / 0.9563 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.5002, allocations: 1.938 kB / 0.9563 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.5002, allocations: 12.31 kB / 0.9563 GB, free: 3.273 MB / 0.7169 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 4.408e-05/0.5002, allocations: 109.6 kB / 0.9564 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.5003, allocations: 7.062 kB / 0.9564 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.5003, allocations: 16.73 kB / 0.9564 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5003, allocations: 1.156 kB / 0.9564 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5003, allocations: 1.188 kB / 0.9564 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5003, allocations: 1.219 kB / 0.9564 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.5006, allocations: 177.9 kB / 0.9566 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5006, allocations: 1.156 kB / 0.9566 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-05/0.5007, allocations: 13.69 kB / 0.9566 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5007, allocations: 1.031 kB / 0.9566 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5008, allocations: 5.016 kB / 0.9566 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5008, allocations: 5.062 kB / 0.9566 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5008, allocations: 5.094 kB / 0.9566 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.5009, allocations: 333.2 kB / 0.957 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.501, allocations: 87.52 kB / 0.957 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.501, allocations: 2.375 kB / 0.957 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.5012, allocations: 6.344 kB / 0.957 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.5012, allocations: 19.7 kB / 0.9571 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.5012, allocations: 2.375 kB / 0.9571 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.682e-05/0.5012, allocations: 81.45 kB / 0.9571 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5012, allocations: 0 / 0.9571 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003312/0.5016, allocations: 14.75 kB / 0.9572 GB, free: 2.406 MB / 0.7169 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.0002868/0.5019, allocations: 0.864 MB / 0.958 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.502, allocations: 52.08 kB / 0.9581 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.502, allocations: 0 / 0.9581 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.502, allocations: 19.88 kB / 0.9581 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.5024, allocations: 13.44 kB / 0.9581 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.5036, allocations: 1.688 MB / 0.9597 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.5038, allocations: 0.6836 MB / 0.9604 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.61e-05/0.5039, allocations: 15.27 kB / 0.9604 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.5039, allocations: 15 kB / 0.9604 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5039, allocations: 0 / 0.9604 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.5198, allocations: 1.685 MB / 0.9621 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.526, allocations: 9.375 kB / 0.9621 GB, free: 14.29 MB / 0.7325 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