Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001262/0.001262, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001505/0.001505, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.155/3.155, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002036/0.002036, allocations: 67.11 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3146, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002349/0.3169, allocations: 1.278 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.3201, allocations: 2.383 MB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.3201, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.3201, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.3202, allocations: 7.922 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.3208, allocations: 131.4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.582e-05/0.3208, allocations: 31.86 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.3209, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.3209, allocations: 23.91 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.321, allocations: 19.92 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.321, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.3213, allocations: 103.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.3213, allocations: 4 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.3213, allocations: 23.91 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3215, allocations: 79.73 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3215, allocations: 8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3215, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3215, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 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.0004071/0.3219, allocations: 274.2 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.322, allocations: 12.03 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.3222, allocations: 16.86 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.479e-05/0.3223, allocations: 114.4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3223, allocations: 4.375 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.3223, allocations: 8.375 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3225, allocations: 153.5 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3225, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3225, allocations: 4 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.3225, allocations: 0 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.3226, allocations: 15.92 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.3231, allocations: 388.8 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.3233, allocations: 67.75 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.3233, allocations: 26.64 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.3233, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.3234, allocations: 34.56 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3234, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006117/0.324, allocations: 233.2 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.324, allocations: 102.8 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3241, allocations: 105.8 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3242, allocations: 29.7 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.3242, allocations: 84.09 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.3242, allocations: 31.73 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.3243, allocations: 29.95 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3244, allocations: 326.7 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.3244, allocations: 11.98 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.009e-05/0.3245, allocations: 57.14 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.3246, allocations: 65.09 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3246, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001487/0.3248, allocations: 97.64 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3248, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3248, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3248, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.3249, allocations: 31.98 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3249, allocations: 4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.3249, allocations: 3.953 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3249, allocations: 4 kB / 1.333 GB, free: 10.29 MB / 1.029 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.784e-05/0.325, allocations: 118.3 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.3251, allocations: 4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.3251, allocations: 15.77 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3251, allocations: 4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3251, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3251, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.3254, allocations: 125.2 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3254, allocations: 3.938 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.3255, allocations: 23.98 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3255, allocations: 3.938 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3255, allocations: 0 / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3255, allocations: 4 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3255, allocations: 0 / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.3258, allocations: 338.4 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.3258, allocations: 8 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3258, allocations: 0 / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.326, allocations: 4 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.326, allocations: 7.984 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3261, allocations: 8.094 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.459e-05/0.3261, allocations: 79.27 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3261, allocations: 0 / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003226/0.3264, allocations: 12 kB / 1.334 GB, free: 9.492 MB / 1.029 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.0001302/0.3265, allocations: 117.3 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3267, allocations: 51.8 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3267, allocations: 0 / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.664e-05/0.3267, allocations: 8 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.3271, allocations: 17.81 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.3278, allocations: 340.8 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.3279, allocations: 73.09 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.219e-05/0.3279, allocations: 4 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.3279, allocations: 11.44 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3279, allocations: 4 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of Templates: time 0.003237/0.3312, allocations: 0.6966 MB / 1.335 GB, free: 8.164 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.580381959007354]