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.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.001311/0.001311, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00146/0.00146, allocations: 220.4 kB / 23 MB, free: 4.914 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.815/2.815, allocations: 476 MB / 0.7707 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002158/0.002158, allocations: 67.41 kB / 1.118 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3812, allocations: 169.9 MB / 1.284 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002702/0.3839, allocations: 1.276 MB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003551/0.3874, allocations: 2.373 MB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.3875, allocations: 0 / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.3875, allocations: 7.922 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/0.3876, allocations: 0 / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.3882, allocations: 127.4 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.199e-05/0.3883, allocations: 43.8 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.3884, allocations: 7.969 kB / 1.288 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.3884, allocations: 16 kB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.3885, allocations: 15.86 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3885, allocations: 4 kB / 1.288 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.3888, allocations: 107.7 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.3888, allocations: 4 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.3889, allocations: 23.91 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3891, allocations: 83.72 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3891, allocations: 0 / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3891, allocations: 0 / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.3891, allocations: 0 / 1.288 GB, free: 7.918 MB / 0.9825 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.0004462/0.3896, allocations: 274.2 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3896, allocations: 12.03 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.3898, allocations: 12.92 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3899, allocations: 106.5 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.39, allocations: 4.375 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.39, allocations: 16.38 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.3902, allocations: 157.4 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3902, allocations: 0 / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3902, allocations: 0 / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3902, allocations: 4 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.3903, allocations: 11.92 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.3909, allocations: 392.8 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3911, allocations: 67.66 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.3911, allocations: 26.7 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.3911, allocations: 8 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3911, allocations: 34.5 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3911, allocations: 0 / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006201/0.3918, allocations: 229.2 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.3918, allocations: 102.8 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/0.3919, allocations: 105.8 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3919, allocations: 29.7 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.392, allocations: 88.08 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.392, allocations: 35.92 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.3921, allocations: 29.72 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3922, allocations: 314.8 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.3922, allocations: 15.98 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.3923, allocations: 57.08 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.461e-05/0.3924, allocations: 73.59 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3924, allocations: 0 / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000142/0.3925, allocations: 93.55 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3925, allocations: 8 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3926, allocations: 0 / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3926, allocations: 7.984 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.3927, allocations: 23.94 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3927, allocations: 3.938 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.3927, allocations: 4 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.3927, allocations: 4 kB / 1.29 GB, free: 5.309 MB / 0.9825 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.736e-05/0.3928, allocations: 117.8 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.3929, allocations: 16.06 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.3929, allocations: 7.75 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3929, allocations: 0 / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3929, allocations: 4 kB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3929, allocations: 0 / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.3932, allocations: 121.2 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3932, allocations: 0 / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.208e-05/0.3933, allocations: 23.98 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3933, allocations: 3.938 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.3933, allocations: 0 / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3933, allocations: 8.062 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3933, allocations: 4 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.3936, allocations: 330 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.3936, allocations: 11.94 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.3936, allocations: 0 / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.3938, allocations: 8.031 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.3938, allocations: 7.938 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.3938, allocations: 0 / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.3939, allocations: 87.27 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3939, allocations: 0 / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003145/0.3942, allocations: 12 kB / 1.291 GB, free: 4.504 MB / 0.9825 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.0001396/0.3943, allocations: 107.2 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.3944, allocations: 44.28 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3944, allocations: 4 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.664e-05/0.3945, allocations: 15.92 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.3949, allocations: 8 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.3956, allocations: 371.9 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.548e-05/0.3956, allocations: 75.3 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.3957, allocations: 11.44 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3957, allocations: 0 / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of Templates: time 0.002499/0.3982, allocations: 0.8138 MB / 1.292 GB, free: 3.004 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/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) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.087638755328953]