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.00164/0.00164, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001996/0.001996, allocations: 215.2 kB / 22.25 MB, free: 5.215 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 8.02 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/3, allocations: 0.49 GB / 0.7951 GB, free: 33.32 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.002038/0.002038, allocations: 65.66 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3339, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002285/0.3362, allocations: 1.309 MB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003265/0.3395, allocations: 2.581 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.3395, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.3395, allocations: 3.984 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.3396, allocations: 3.938 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.3401, allocations: 131.4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.3402, allocations: 39.86 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.3402, allocations: 11.97 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.3403, allocations: 12 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.3404, allocations: 19.91 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.3404, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.3407, allocations: 119.7 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.3407, allocations: 15.97 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.3407, allocations: 11.94 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3409, allocations: 91.66 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3409, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3409, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3409, allocations: 4 kB / 1.331 GB, free: 13.16 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.0004072/0.3413, allocations: 282.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3414, allocations: 8.031 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.3416, allocations: 12.92 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.91e-05/0.3417, allocations: 118.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3417, allocations: 384 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3417, allocations: 4.375 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3418, allocations: 84.3 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3418, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3419, allocations: 3.984 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3419, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.3419, allocations: 15.94 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.3425, allocations: 416.3 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3426, allocations: 67.66 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.3426, allocations: 18.7 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3426, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.3427, allocations: 46.58 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3427, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005466/0.3432, allocations: 221.1 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.3433, allocations: 107.1 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.3434, allocations: 105.8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3434, allocations: 29.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.3435, allocations: 84.09 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3435, allocations: 31.73 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.3435, allocations: 25.72 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3437, allocations: 318.8 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.3437, allocations: 12 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.3437, allocations: 57.14 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.3439, allocations: 77.02 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3439, allocations: 4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001301/0.344, allocations: 94.05 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.344, allocations: 5.406 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.344, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.344, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.3441, allocations: 20 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3441, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.3441, allocations: 11.95 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3442, allocations: 7.984 kB / 1.333 GB, free: 10.61 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.56e-05/0.3442, allocations: 122.4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.3443, allocations: 11.97 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.3443, allocations: 11.75 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3443, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3443, allocations: 64 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3443, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.3447, allocations: 156.7 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3447, allocations: 0 / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.3447, allocations: 15.98 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3447, allocations: 8 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.3447, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3448, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3448, allocations: 7.938 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.345, allocations: 322 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.345, allocations: 8 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3451, allocations: 8 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.3452, allocations: 4.031 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.3452, allocations: 4 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3452, allocations: 11.94 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.3453, allocations: 79.27 kB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3453, allocations: 0 / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002994/0.3456, allocations: 16 kB / 1.334 GB, free: 9.77 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.0001291/0.3457, allocations: 107.2 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.3458, allocations: 39.92 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3458, allocations: 4 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.3459, allocations: 19.92 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.3463, allocations: 7.516 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.3469, allocations: 357 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3472, allocations: 0.6893 MB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.3473, allocations: 7.984 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.3473, allocations: 11.44 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3473, allocations: 0 / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of Templates: time 0.00311/0.3504, allocations: 0.6912 MB / 1.335 GB, free: 7.812 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 -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/jenkins/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.266446902882308]