Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_11_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.004379/0.004384, allocations: 101.8 kB / 15.73 MB, free: 6.004 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.001231/0.001231, allocations: 193.7 kB / 16.67 MB, free: 5.922 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.707/2.707, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.89 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6467/0.6486, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002183/0.6508, allocations: 1.263 MB / 1.221 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003114/0.654, allocations: 2.496 MB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.654, allocations: 0 / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.654, allocations: 0 / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.6541, allocations: 7.938 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.6546, allocations: 131.4 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.051e-05/0.6546, allocations: 39.84 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 2.897e-05/0.6547, allocations: 3.984 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.6547, allocations: 19.94 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.6548, allocations: 19.91 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.6548, allocations: 4 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.6551, allocations: 115.8 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.6551, allocations: 7.984 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.6552, allocations: 19.92 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.6554, allocations: 79.5 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6554, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6554, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6554, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 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.000422/0.6558, allocations: 351.3 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.6559, allocations: 8.031 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.6559, allocations: 46.67 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.6561, allocations: 12.94 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.6563, allocations: 168.3 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.6563, allocations: 384 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.6563, allocations: 8.375 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.6565, allocations: 68.2 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6565, allocations: 7.938 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.6565, allocations: 4 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.6565, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.6566, allocations: 15.92 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.6572, allocations: 470.9 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.6573, allocations: 75.64 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.6574, allocations: 22.7 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.6574, allocations: 4 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.6574, allocations: 34.5 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.6574, allocations: 4 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006064/0.658, allocations: 306.2 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.6581, allocations: 106.8 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.6582, allocations: 101.8 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.6582, allocations: 29.64 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.6583, allocations: 88.34 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.6583, allocations: 31.73 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.6583, allocations: 25.72 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6585, allocations: 322.8 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.6585, allocations: 8 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.6586, allocations: 53.14 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.6587, allocations: 77.08 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.6587, allocations: 0 / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001479/0.6588, allocations: 93.52 kB / 1.227 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6589, allocations: 16.11 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6589, allocations: 0 / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.6589, allocations: 0 / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.659, allocations: 23.94 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.659, allocations: 0 / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.659, allocations: 4 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.6591, allocations: 15.94 kB / 1.227 GB, free: 10.91 MB / 0.9512 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.872e-05/0.6592, allocations: 118.6 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.6592, allocations: 0.6094 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.6593, allocations: 19.5 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6593, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6593, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6593, allocations: 4 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.6597, allocations: 185.5 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6597, allocations: 3.984 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/0.6598, allocations: 15.98 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6598, allocations: 4 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.6598, allocations: 0 / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6598, allocations: 0 / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6598, allocations: 4 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.6601, allocations: 330 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.6601, allocations: 89 kB / 1.227 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.6602, allocations: 0 / 1.227 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.6603, allocations: 8.031 kB / 1.227 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.6604, allocations: 11.94 kB / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.6604, allocations: 11.94 kB / 1.227 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.6604, allocations: 75.28 kB / 1.228 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6604, allocations: 0 / 1.228 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003334/0.6608, allocations: 16 kB / 1.228 GB, free: 9.941 MB / 0.9512 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.0005423/0.6613, allocations: 0.8634 MB / 1.228 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.6615, allocations: 43.92 kB / 1.228 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6615, allocations: 0 / 1.228 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.6615, allocations: 19.94 kB / 1.228 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.6619, allocations: 12.3 kB / 1.228 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.6636, allocations: 1.704 MB / 1.23 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.6639, allocations: 0.6837 MB / 1.231 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.942e-05/0.664, allocations: 15.97 kB / 1.231 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.664, allocations: 15.44 kB / 1.231 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.664, allocations: 0 / 1.231 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.6867, allocations: 1.713 MB / 1.233 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/8.178, allocations: 20.14 kB / 1.233 GB, free: 4.863 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches