Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_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.007172/0.007172, allocations: 97.88 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.002041/0.002041, allocations: 193.1 kB / 16.67 MB, free: 5.934 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 60.12 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2822, allocations: 162.2 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002292/0.2845, allocations: 1.268 MB / 1.243 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003274/0.2878, allocations: 2.484 MB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.2879, allocations: 0 / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.2879, allocations: 11.92 kB / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.2879, allocations: 3.938 kB / 1.245 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.2885, allocations: 131.4 kB / 1.245 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.2886, allocations: 35.8 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.051e-05/0.2886, allocations: 8 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.2886, allocations: 19.97 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.2887, allocations: 19.92 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2887, allocations: 0 / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.2891, allocations: 123.7 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.2891, allocations: 0 / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.2891, allocations: 19.92 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.2893, allocations: 75.78 kB / 1.246 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2893, allocations: 4 kB / 1.246 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2893, allocations: 0 / 1.246 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2894, allocations: 4 kB / 1.246 GB, free: 6.043 MB / 0.9981 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.0004328/0.2898, allocations: 353.4 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2898, allocations: 12.03 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.2899, allocations: 38.75 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.2901, allocations: 12.92 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.2902, allocations: 164.3 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2903, allocations: 8.375 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.2903, allocations: 8.328 kB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.2904, allocations: 80.17 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2904, allocations: 0 / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2905, allocations: 0 / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2905, allocations: 4 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.103e-05/0.2905, allocations: 11.92 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.2911, allocations: 470.9 kB / 1.247 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.2913, allocations: 79.72 kB / 1.247 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.2914, allocations: 22.58 kB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.2914, allocations: 4 kB / 1.247 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2914, allocations: 38.56 kB / 1.247 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.2914, allocations: 0 / 1.247 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0006227/0.292, allocations: 302.6 kB / 1.247 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.2921, allocations: 107.1 kB / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.924e-05/0.2922, allocations: 105.8 kB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.2922, allocations: 29.7 kB / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.2923, allocations: 92.08 kB / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.2923, allocations: 31.73 kB / 1.247 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.2924, allocations: 21.72 kB / 1.247 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2925, allocations: 318.8 kB / 1.248 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.2926, allocations: 15.98 kB / 1.248 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.144e-05/0.2926, allocations: 57.08 kB / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.2927, allocations: 65.09 kB / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2927, allocations: 8 kB / 1.248 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001492/0.2929, allocations: 101.4 kB / 1.248 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2929, allocations: 5.094 kB / 1.248 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2929, allocations: 4 kB / 1.248 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.293, allocations: 0 / 1.248 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.293, allocations: 23.92 kB / 1.248 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2931, allocations: 4 kB / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.2931, allocations: 0 / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2931, allocations: 16.06 kB / 1.248 GB, free: 3.113 MB / 0.9981 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.712e-05/0.2932, allocations: 114.4 kB / 1.248 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.2933, allocations: 7.984 kB / 1.248 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.2933, allocations: 7.562 kB / 1.248 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2933, allocations: 7.938 kB / 1.248 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2933, allocations: 0 / 1.248 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2933, allocations: 0 / 1.248 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.2937, allocations: 173.6 kB / 1.248 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2937, allocations: 4.062 kB / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.762e-05/0.2938, allocations: 27.92 kB / 1.248 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2938, allocations: 0 / 1.248 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2939, allocations: 8 kB / 1.248 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2939, allocations: 0 / 1.248 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2939, allocations: 0 / 1.248 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.2941, allocations: 330 kB / 1.249 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.2942, allocations: 93 kB / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2942, allocations: 0 / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.2944, allocations: 8 kB / 1.249 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.2945, allocations: 7.922 kB / 1.249 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.2945, allocations: 4 kB / 1.249 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.2945, allocations: 79.66 kB / 1.249 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2945, allocations: 0 / 1.249 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003335/0.2949, allocations: 12 kB / 1.249 GB, free: 2.148 MB / 0.9981 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.0005719/0.2954, allocations: 0.8714 MB / 1.25 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.2956, allocations: 44.09 kB / 1.25 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2956, allocations: 8.062 kB / 1.25 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.2956, allocations: 19.94 kB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.296, allocations: 11.94 kB / 1.25 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4631/0.7592, allocations: 1.679 MB / 1.251 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.7593, allocations: 0.6841 MB / 1.252 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.412e-05/0.7594, allocations: 7.281 kB / 1.252 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.7595, allocations: 17.62 kB / 1.252 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.7595, allocations: 0 / 1.252 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.7829, allocations: 1.715 MB / 1.254 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/8.323, allocations: 10.59 kB / 1.254 GB, free: 13.16 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches