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.001755/0.001755, allocations: 78.88 kB / 19.76 MB, free: 2.031 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.001962/0.001962, allocations: 158.7 kB / 23.01 MB, free: 4.945 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.654/2.654, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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.002232/0.002232, allocations: 75.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3059, allocations: 169.9 MB / 1.117 GB, free: 2.531 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002617/0.3086, allocations: 1.277 MB / 1.119 GB, free: 1.246 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003491/0.312, allocations: 2.375 MB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.3121, allocations: 4 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.3121, allocations: 3.984 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.3121, allocations: 3.938 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.3127, allocations: 131.4 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.432e-05/0.3127, allocations: 43.84 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.3128, allocations: 3.984 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.3128, allocations: 19.94 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.3129, allocations: 15.91 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.3129, allocations: 4 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.3131, allocations: 99.81 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.3132, allocations: 11.98 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.3132, allocations: 23.86 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3134, allocations: 79.72 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3134, allocations: 0 / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3134, allocations: 0 / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3134, allocations: 0 / 1.121 GB, free: 14.42 MB / 1.076 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.0003957/0.3138, allocations: 274.2 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3138, allocations: 8.031 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.314, allocations: 20.92 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.3141, allocations: 106.5 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3142, allocations: 4.375 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3142, allocations: 4.375 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3143, allocations: 157.4 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.3144, allocations: 0 / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3144, allocations: 0 / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3144, allocations: 4 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.3144, allocations: 7.984 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.315, allocations: 396.8 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3151, allocations: 75.66 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.3152, allocations: 22.7 kB / 1.122 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.3152, allocations: 0 / 1.122 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3152, allocations: 34.56 kB / 1.122 GB, free: 13.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.3152, allocations: 3.938 kB / 1.122 GB, free: 13.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0005649/0.3158, allocations: 233.5 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.3158, allocations: 102.8 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.3159, allocations: 109.8 kB / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3159, allocations: 25.95 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.316, allocations: 92.09 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.316, allocations: 31.73 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.316, allocations: 25.72 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3162, allocations: 314.8 kB / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.3162, allocations: 19.92 kB / 1.123 GB, free: 12.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.3163, allocations: 53.14 kB / 1.123 GB, free: 12.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.616e-05/0.3164, allocations: 73.03 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3164, allocations: 4 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001466/0.3165, allocations: 89.55 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3165, allocations: 10.5 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3165, allocations: 64 / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3166, allocations: 8 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.3166, allocations: 19.98 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3166, allocations: 0 / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.3167, allocations: 11.95 kB / 1.124 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3167, allocations: 7.984 kB / 1.124 GB, free: 11.82 MB / 1.076 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.879e-05/0.3168, allocations: 125.8 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.3169, allocations: 7.984 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.3169, allocations: 7.812 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3169, allocations: 0 / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3169, allocations: 4 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3169, allocations: 0 / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.3172, allocations: 125.2 kB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3172, allocations: 0 / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.106e-05/0.3173, allocations: 15.98 kB / 1.124 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3173, allocations: 4 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3173, allocations: 8 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3173, allocations: 0 / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3173, allocations: 4 kB / 1.124 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3176, allocations: 329.9 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.3176, allocations: 4 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3176, allocations: 4 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3178, allocations: 8.031 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.3178, allocations: 0 / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.3179, allocations: 7.938 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.3179, allocations: 87.64 kB / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3179, allocations: 4 kB / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000331/0.3182, allocations: 12 kB / 1.124 GB, free: 11.01 MB / 1.076 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.0001268/0.3184, allocations: 111.3 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.3185, allocations: 47.84 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3185, allocations: 0 / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.3185, allocations: 19.92 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.319, allocations: 12.38 kB / 1.125 GB, free: 10.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.3196, allocations: 340.4 kB / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.436e-05/0.3197, allocations: 67.34 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.582e-05/0.3197, allocations: 11.98 kB / 1.125 GB, free: 10.35 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.3198, allocations: 12.5 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.3198, allocations: 0 / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of Templates: time 0.003291/0.3231, allocations: 0.6397 MB / 1.126 GB, free: 9.746 MB / 1.076 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 -s ida -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: 8.302248115069233]