Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.89 kB / 1.059 GB, free: 400 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3516, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002435/0.354, allocations: 1.269 MB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003559/0.3576, allocations: 2.547 MB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.3576, allocations: 0 / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.3576, allocations: 4 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.416e-05/0.3577, allocations: 7.922 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.3583, allocations: 123.4 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3584, allocations: 39.89 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.76e-05/0.3585, allocations: 4 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.3585, allocations: 19.88 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.3586, allocations: 15.97 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3586, allocations: 8 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000365/0.359, allocations: 115.8 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.359, allocations: 15.92 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.3591, allocations: 11.94 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.3593, allocations: 87.77 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3593, allocations: 3.938 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3593, allocations: 0 / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3593, allocations: 7.875 kB / 1.22 GB, free: 11.06 MB / 0.9669 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.0006039/0.3599, allocations: 355.4 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.36, allocations: 8.031 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.3603, allocations: 12.92 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.3605, allocations: 168.3 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3605, allocations: 384 / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.3605, allocations: 12.33 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3607, allocations: 72.36 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3607, allocations: 3.938 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3608, allocations: 12 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3608, allocations: 0 / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.864e-05/0.3608, allocations: 8 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008454/0.3617, allocations: 462.9 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.3618, allocations: 79.72 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.3619, allocations: 26.72 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.3619, allocations: 0 / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3619, allocations: 42.56 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.3619, allocations: 0 / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007163/0.3626, allocations: 306.3 kB / 1.222 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.3627, allocations: 106.8 kB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.3628, allocations: 97.86 kB / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3628, allocations: 25.7 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.3629, allocations: 96.28 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3629, allocations: 27.8 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.363, allocations: 29.7 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3631, allocations: 314.8 kB / 1.222 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.3631, allocations: 12 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.3632, allocations: 61.02 kB / 1.223 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.3633, allocations: 73.08 kB / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3633, allocations: 0 / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001397/0.3634, allocations: 97.5 kB / 1.223 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3635, allocations: 8.125 kB / 1.223 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3635, allocations: 0 / 1.223 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3635, allocations: 4 kB / 1.223 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.3636, allocations: 27.92 kB / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3636, allocations: 4 kB / 1.223 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.3636, allocations: 3.938 kB / 1.223 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3636, allocations: 4 kB / 1.223 GB, free: 8.188 MB / 0.9669 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.179e-05/0.3637, allocations: 121.7 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.3638, allocations: 4 kB / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.3638, allocations: 15.5 kB / 1.223 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3638, allocations: 4 kB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3638, allocations: 0 / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3638, allocations: 3.984 kB / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.3642, allocations: 181.6 kB / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3642, allocations: 0 / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.3643, allocations: 16 kB / 1.223 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3643, allocations: 0 / 1.223 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3643, allocations: 0 / 1.223 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3643, allocations: 4 kB / 1.223 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3643, allocations: 4 kB / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3646, allocations: 334.4 kB / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.3647, allocations: 85.09 kB / 1.223 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.3647, allocations: 4.062 kB / 1.223 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.3648, allocations: 8 kB / 1.223 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.3649, allocations: 4 kB / 1.223 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3649, allocations: 16.02 kB / 1.223 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.3649, allocations: 83.27 kB / 1.224 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3649, allocations: 0 / 1.224 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000308/0.3652, allocations: 15.94 kB / 1.224 GB, free: 7.203 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.0001525/0.3654, allocations: 103.2 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.3655, allocations: 51.84 kB / 1.224 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3655, allocations: 0 / 1.224 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.876e-05/0.3656, allocations: 23.92 kB / 1.224 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.366, allocations: 4 kB / 1.224 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.3666, allocations: 332.3 kB / 1.224 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.367, allocations: 0.6846 MB / 1.225 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.804e-05/0.367, allocations: 11.84 kB / 1.225 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.3671, allocations: 11.44 kB / 1.225 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of SimCode: time 7.51e-07/0.3671, allocations: 4 kB / 1.225 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of Templates: time 0.003238/0.3703, allocations: 0.6714 MB / 1.225 GB, free: 5.289 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.270176550373435]