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.001948/0.001948, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001747/0.001747, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.507/1.507, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.81/2.81, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.819e-05/3.985e-05, allocations: 6.281 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002465/0.002505, allocations: 1.291 MB / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003832/0.006337, allocations: 2.379 MB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.006362, allocations: 0 / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.006385, allocations: 5.406 kB / 0.7899 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.006427, allocations: 3.938 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.007014, allocations: 138.3 kB / 0.7901 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.881e-05/0.007093, allocations: 35.84 kB / 0.7901 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.212e-05/0.007125, allocations: 0 / 0.7901 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.007193, allocations: 27.95 kB / 0.7901 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.007251, allocations: 11.98 kB / 0.7901 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.007264, allocations: 0 / 0.7901 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.007554, allocations: 108.8 kB / 0.7902 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.007575, allocations: 11.98 kB / 0.7903 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.00761, allocations: 11.94 kB / 0.7903 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.007836, allocations: 84.3 kB / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.007841, allocations: 4 kB / 0.7903 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.436e-06/0.007845, allocations: 4.5 kB / 0.7904 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.00785, allocations: 1.594 kB / 0.7904 GB, free: 8.73 MB / 0.7448 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.0004633/0.008313, allocations: 274.1 kB / 0.7906 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.008354, allocations: 12.03 kB / 0.7906 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.008595, allocations: 29.44 kB / 0.7907 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.00871, allocations: 109.7 kB / 0.7908 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.008723, allocations: 5.188 kB / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.008755, allocations: 8.375 kB / 0.7908 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.008972, allocations: 150.4 kB / 0.7909 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.008981, allocations: 0.7812 kB / 0.7909 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.008996, allocations: 8.125 kB / 0.7909 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.009001, allocations: 0.6875 kB / 0.7909 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.371e-05/0.009044, allocations: 11.92 kB / 0.7909 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.00967, allocations: 390.3 kB / 0.7913 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.009845, allocations: 67.66 kB / 0.7914 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.009883, allocations: 20.39 kB / 0.7914 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.0099, allocations: 7.938 kB / 0.7914 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.009942, allocations: 42.5 kB / 0.7914 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.009943, allocations: 0 / 0.7914 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006726/0.01062, allocations: 230.7 kB / 0.7917 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.01071, allocations: 106.8 kB / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.01083, allocations: 104.3 kB / 0.7919 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.01085, allocations: 25.7 kB / 0.7919 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.01092, allocations: 84.09 kB / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.01095, allocations: 27.75 kB / 0.792 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.01101, allocations: 29.7 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.01122, allocations: 314.8 kB / 0.7923 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.01126, allocations: 17.83 kB / 0.7923 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/0.01135, allocations: 53.14 kB / 0.7924 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.01147, allocations: 74.08 kB / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01147, allocations: 0.5625 kB / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001971/0.01167, allocations: 111.1 kB / 0.7926 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.01169, allocations: 4 kB / 0.7926 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.0117, allocations: 4 kB / 0.7926 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.091e-05/0.01174, allocations: 2.219 kB / 0.7926 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.01183, allocations: 19.98 kB / 0.7926 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.01184, allocations: 7.938 kB / 0.7926 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.01188, allocations: 0 / 0.7926 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.01189, allocations: 4.062 kB / 0.7926 GB, free: 6.133 MB / 0.7448 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 0.0001305/0.01202, allocations: 114.4 kB / 0.7927 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.0121, allocations: 20.61 kB / 0.7927 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.01214, allocations: 15.8 kB / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01215, allocations: 1.125 kB / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.01215, allocations: 0 / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.01216, allocations: 4 kB / 0.7928 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.0125, allocations: 122 kB / 0.7929 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01251, allocations: 0 / 0.7929 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.73e-05/0.0126, allocations: 23.86 kB / 0.7929 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.01261, allocations: 4.594 kB / 0.7929 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.01262, allocations: 0.8438 kB / 0.7929 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01262, allocations: 0 / 0.7929 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01262, allocations: 1.969 kB / 0.7929 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.01299, allocations: 334 kB / 0.7932 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.01302, allocations: 7.938 kB / 0.7932 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.01304, allocations: 0 / 0.7932 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.01324, allocations: 4.047 kB / 0.7932 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.01327, allocations: 16.58 kB / 0.7932 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.01328, allocations: 0 / 0.7932 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.01334, allocations: 80.31 kB / 0.7933 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01334, allocations: 0 / 0.7933 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003649/0.01371, allocations: 19.98 kB / 0.7933 GB, free: 5.324 MB / 0.7448 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.0002074/0.01392, allocations: 102.3 kB / 0.7934 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.01407, allocations: 43.92 kB / 0.7935 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01407, allocations: 0 / 0.7935 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.01411, allocations: 24.55 kB / 0.7935 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.01463, allocations: 12.66 kB / 0.7935 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006493/0.01528, allocations: 273 kB / 0.7938 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.842e-05/0.01538, allocations: 71.94 kB / 0.7938 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.25e-05/0.01543, allocations: 11.98 kB / 0.7939 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.01547, allocations: 12.5 kB / 0.7939 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.01547, allocations: 0 / 0.7939 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of Templates: time 0.00346/0.01893, allocations: 0.6647 MB / 0.7945 GB, free: 4.125 MB / 0.7448 GB " [Timeout remaining time 300] 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/jenkins/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: 7.8771468779305]