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.001842/0.001842, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.002374/0.002374, allocations: 164.8 kB / 22.46 MB, free: 5.359 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.949/2.949, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 1 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.96e-05, allocations: 9.656 kB / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002932/0.002962, allocations: 1.276 MB / 1.001 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003987/0.006948, allocations: 2.378 MB / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.006982, allocations: 0 / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.007004, allocations: 3.984 kB / 1.004 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.007049, allocations: 3.984 kB / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.007756, allocations: 135.3 kB / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.007944, allocations: 35.84 kB / 1.004 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.007981, allocations: 4 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.096e-05/0.008052, allocations: 27.91 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.008117, allocations: 19.91 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.008133, allocations: 4 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.008439, allocations: 99.73 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.008455, allocations: 4 kB / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.008491, allocations: 19.97 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.008744, allocations: 95.64 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.008748, allocations: 3.938 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.022e-06/0.008749, allocations: 0 / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.008757, allocations: 0 / 1.004 GB, free: 3.215 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.0004507/0.009208, allocations: 274.2 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.009245, allocations: 8.031 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.009479, allocations: 16.88 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.009635, allocations: 105.8 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.009644, allocations: 384 / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.009675, allocations: 12.38 kB / 1.005 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.009879, allocations: 149.9 kB / 1.005 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.009892, allocations: 4.125 kB / 1.005 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.009906, allocations: 4.125 kB / 1.005 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.009911, allocations: 3.938 kB / 1.005 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.129e-05/0.009972, allocations: 11.98 kB / 1.005 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.01059, allocations: 388.8 kB / 1.005 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.01076, allocations: 75.7 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.0108, allocations: 18.64 kB / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.01081, allocations: 7.938 kB / 1.005 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.01084, allocations: 38.56 kB / 1.005 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.01084, allocations: 0 / 1.005 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006965/0.01154, allocations: 229.1 kB / 1.005 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.351e-05/0.01163, allocations: 110.8 kB / 1.006 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.01173, allocations: 101.8 kB / 1.006 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.01175, allocations: 29.7 kB / 1.006 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.01182, allocations: 84.09 kB / 1.006 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.01185, allocations: 39.97 kB / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.0119, allocations: 29.66 kB / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.01206, allocations: 314.8 kB / 1.006 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.0121, allocations: 15.98 kB / 1.006 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.01217, allocations: 49.14 kB / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.999e-05/0.01227, allocations: 69.09 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01227, allocations: 4.062 kB / 1.006 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001967/0.01246, allocations: 101.5 kB / 1.006 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.01248, allocations: 4 kB / 1.006 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.01249, allocations: 4 kB / 1.006 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.0125, allocations: 0 / 1.006 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.01259, allocations: 23.92 kB / 1.006 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.0126, allocations: 4 kB / 1.006 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.01264, allocations: 4 kB / 1.006 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.01264, allocations: 4 kB / 1.006 GB, free: 0.6172 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 9.437e-05/0.01274, allocations: 118.3 kB / 1.006 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.01281, allocations: 20.61 kB / 1.006 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.01284, allocations: 7.812 kB / 1.006 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01284, allocations: 4 kB / 1.006 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01285, allocations: 0 / 1.006 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01285, allocations: 0 / 1.006 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.01318, allocations: 121.3 kB / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.01318, allocations: 4 kB / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.977e-05/0.01328, allocations: 19.92 kB / 1.007 GB, free: 296 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01329, allocations: 0 / 1.007 GB, free: 296 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.0133, allocations: 8 kB / 1.007 GB, free: 288 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.0133, allocations: 0 / 1.007 GB, free: 288 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.0133, allocations: 4 kB / 1.007 GB, free: 284 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.01361, allocations: 329.9 kB / 1.007 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.01364, allocations: 7.938 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.01366, allocations: 4 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.01384, allocations: 7.969 kB / 1.007 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.01386, allocations: 8 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.01387, allocations: 4 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.01392, allocations: 79.27 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.01392, allocations: 0 / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003334/0.01425, allocations: 16 kB / 1.007 GB, free: 15.81 MB / 0.9669 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.000157/0.01441, allocations: 111.2 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.01453, allocations: 43.86 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01453, allocations: 4 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.01456, allocations: 19.92 kB / 1.007 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.01502, allocations: 7.938 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.01562, allocations: 259.4 kB / 1.007 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.456e-05/0.01571, allocations: 67.34 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.77e-05/0.01575, allocations: 11.98 kB / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.01578, allocations: 12.5 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of SimCode: time 4.1e-07/0.01578, allocations: 0 / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.003545/0.01933, allocations: 0.6427 MB / 1.008 GB, free: 14.63 MB / 0.9669 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/jenkins/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: 8.273040361702442]