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.001586/0.001586, allocations: 114 kB / 17.08 MB, free: 5.988 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.001705/0.001705, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.563/1.563, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.67/2.67, allocations: 437.1 MB / 0.7177 GB, free: 4.539 MB / 0.5606 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.001976/0.001976, allocations: 59.91 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 151.6 MB / 1.176 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002992/0.3101, allocations: 1.268 MB / 1.177 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003492/0.3136, allocations: 2.503 MB / 1.179 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.3136, allocations: 4 kB / 1.18 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.3137, allocations: 0 / 1.18 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.3138, allocations: 11.92 kB / 1.18 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.3144, allocations: 127.3 kB / 1.18 GB, free: 2 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.3145, allocations: 31.91 kB / 1.18 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.3145, allocations: 4 kB / 1.18 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.341e-05/0.3146, allocations: 27.84 kB / 1.18 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.3146, allocations: 19.92 kB / 1.18 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3147, allocations: 0 / 1.18 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.315, allocations: 119.8 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.315, allocations: 3.984 kB / 1.18 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.3151, allocations: 19.92 kB / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.3153, allocations: 83.72 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3153, allocations: 4 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3153, allocations: 0 / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3153, allocations: 0 / 1.18 GB, free: 1.691 MB / 0.92 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.0004649/0.3158, allocations: 351.3 kB / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3159, allocations: 12.03 kB / 1.18 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.3161, allocations: 16.92 kB / 1.18 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3162, allocations: 164.3 kB / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3163, allocations: 8.375 kB / 1.18 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.3163, allocations: 4.328 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3165, allocations: 76.38 kB / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3165, allocations: 0 / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3165, allocations: 3.938 kB / 1.181 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3165, allocations: 4 kB / 1.181 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.3166, allocations: 12 kB / 1.181 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/0.3172, allocations: 470.9 kB / 1.181 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3174, allocations: 71.66 kB / 1.181 GB, free: 340 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.3175, allocations: 18.7 kB / 1.181 GB, free: 312 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3175, allocations: 8.078 kB / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3175, allocations: 34.56 kB / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 4.789e-06/0.3175, allocations: 4 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0007331/0.3183, allocations: 294.2 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.3183, allocations: 114.8 kB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.3184, allocations: 101.7 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3185, allocations: 29.7 kB / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.3185, allocations: 92.28 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.3186, allocations: 31.8 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.3186, allocations: 25.72 kB / 1.182 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3188, allocations: 322.8 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.092e-05/0.3188, allocations: 12 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.3189, allocations: 49.14 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.319, allocations: 81.58 kB / 1.182 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.319, allocations: 0 / 1.182 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001446/0.3192, allocations: 97.44 kB / 1.182 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3192, allocations: 8 kB / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3192, allocations: 4.125 kB / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3192, allocations: 4 kB / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.3193, allocations: 23.92 kB / 1.182 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3193, allocations: 0 / 1.182 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.3194, allocations: 11.94 kB / 1.182 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3194, allocations: 4 kB / 1.182 GB, free: 14.82 MB / 0.9356 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.408e-05/0.3195, allocations: 121.7 kB / 1.183 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.3195, allocations: 4 kB / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.3196, allocations: 7.562 kB / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3196, allocations: 4.062 kB / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.3196, allocations: 8 kB / 1.183 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3196, allocations: 0 / 1.183 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.32, allocations: 173.6 kB / 1.183 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.32, allocations: 0 / 1.183 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.958e-05/0.3201, allocations: 23.98 kB / 1.183 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3201, allocations: 0 / 1.183 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3201, allocations: 0 / 1.183 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3201, allocations: 7.938 kB / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3201, allocations: 0 / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.3204, allocations: 333.9 kB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.3205, allocations: 89.09 kB / 1.183 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3205, allocations: 8 kB / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.3207, allocations: 0 / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.3207, allocations: 4 kB / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3207, allocations: 11.94 kB / 1.183 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.3208, allocations: 83.27 kB / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3208, allocations: 0 / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003349/0.3211, allocations: 12 kB / 1.183 GB, free: 13.84 MB / 0.9356 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.0001565/0.3213, allocations: 107.2 kB / 1.183 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.3214, allocations: 44.53 kB / 1.183 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3215, allocations: 8 kB / 1.183 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.3215, allocations: 19.92 kB / 1.183 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.322, allocations: 8 kB / 1.183 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006899/0.3227, allocations: 357.5 kB / 1.184 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.323, allocations: 0.6846 MB / 1.184 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.323, allocations: 15.44 kB / 1.184 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3231, allocations: 0 / 1.184 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of Templates: time 0.002734/0.3258, allocations: 0.7816 MB / 1.185 GB, free: 11.76 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.315226025995798]