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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 213.3 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.944/2.944, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 70.06 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2852, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002138/0.2874, allocations: 1.296 MB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003025/0.2904, allocations: 2.578 MB / 1.358 GB, free: 4.062 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.2904, allocations: 4 kB / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.2904, allocations: 0 / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.765e-05/0.2905, allocations: 7.922 kB / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.291, allocations: 135.3 kB / 1.358 GB, free: 3.918 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.291, allocations: 31.92 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.2911, allocations: 7.984 kB / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.2911, allocations: 23.92 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.2912, allocations: 15.92 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2912, allocations: 4 kB / 1.358 GB, free: 3.836 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.2915, allocations: 123.7 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.2915, allocations: 3.984 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.2916, allocations: 23.92 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.2918, allocations: 79.72 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2918, allocations: 0 / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2918, allocations: 0 / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.2918, allocations: 8 kB / 1.358 GB, free: 3.602 MB / 1.045 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.0005095/0.2923, allocations: 274.2 kB / 1.359 GB, free: 3.305 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2924, allocations: 12.03 kB / 1.359 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.2926, allocations: 12.94 kB / 1.359 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2927, allocations: 114.4 kB / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2927, allocations: 4.375 kB / 1.359 GB, free: 3.141 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.2928, allocations: 16.31 kB / 1.359 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.2929, allocations: 68.39 kB / 1.359 GB, free: 3.043 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2929, allocations: 3.938 kB / 1.359 GB, free: 3.039 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.293, allocations: 4 kB / 1.359 GB, free: 3.035 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.293, allocations: 4 kB / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.293, allocations: 11.92 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.2937, allocations: 416.3 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.2938, allocations: 71.78 kB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.2938, allocations: 26.52 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2939, allocations: 4 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2939, allocations: 30.56 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2939, allocations: 0 / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006781/0.2946, allocations: 233.2 kB / 1.36 GB, free: 2.125 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.2947, allocations: 103.1 kB / 1.36 GB, free: 2 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.2947, allocations: 109.8 kB / 1.36 GB, free: 1.883 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.2948, allocations: 25.7 kB / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.2948, allocations: 88.09 kB / 1.36 GB, free: 1.762 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.2948, allocations: 27.73 kB / 1.36 GB, free: 1.734 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.2949, allocations: 25.72 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.295, allocations: 326.7 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.2951, allocations: 11.98 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.2951, allocations: 57.14 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.2952, allocations: 65.09 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2952, allocations: 4 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001427/0.2954, allocations: 93.5 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2954, allocations: 8 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2954, allocations: 0 / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.2954, allocations: 4 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.2955, allocations: 27.92 kB / 1.36 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2955, allocations: 4 kB / 1.36 GB, free: 1.062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.2956, allocations: 3.938 kB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.2956, allocations: 7.938 kB / 1.36 GB, free: 1.051 MB / 1.045 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.958e-05/0.2957, allocations: 122.6 kB / 1.361 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.2957, allocations: 7.984 kB / 1.361 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.2958, allocations: 7.75 kB / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2958, allocations: 0 / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2958, allocations: 4 kB / 1.361 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2958, allocations: 64 / 1.361 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.2961, allocations: 160.6 kB / 1.361 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2961, allocations: 0.6094 kB / 1.361 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.2962, allocations: 16 kB / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2962, allocations: 7.984 kB / 1.361 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.2962, allocations: 0 / 1.361 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2962, allocations: 4 kB / 1.361 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2962, allocations: 0 / 1.361 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.2965, allocations: 329.9 kB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.2965, allocations: 8.125 kB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.2965, allocations: 4 kB / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2967, allocations: 7.984 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.2967, allocations: 7.984 kB / 1.361 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.2967, allocations: 7.938 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of sorting global known variables: time 3.975e-05/0.2968, allocations: 79.28 kB / 1.361 GB, free: 228 kB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2968, allocations: 0 / 1.361 GB, free: 228 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003031/0.2971, allocations: 12 kB / 1.361 GB, free: 216 kB / 1.045 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.0001381/0.2972, allocations: 107.3 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.2973, allocations: 47.86 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2974, allocations: 0 / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.2974, allocations: 12 kB / 1.361 GB, free: 36 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.2978, allocations: 12.06 kB / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.2985, allocations: 386.7 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.2988, allocations: 0.6846 MB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.2988, allocations: 11.44 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.2988, allocations: 0 / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of Templates: time 0.002166/0.301, allocations: 0.7835 MB / 1.363 GB, free: 14.11 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/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) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.86131271297927]