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.001858/0.001858, allocations: 102.7 kB / 16.45 MB, free: 6.5 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.002137/0.002137, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.579/1.579, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.459/3.459, allocations: 0.4899 GB / 0.7916 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] 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.002087/0.002087, allocations: 68.11 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4119, allocations: 176.1 MB / 1.321 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003397/0.4153, allocations: 1.297 MB / 1.322 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004644/0.4199, allocations: 2.566 MB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.42, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.42, allocations: 3.984 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.457e-05/0.4201, allocations: 7.938 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.4209, allocations: 131.4 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.421, allocations: 31.92 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.421, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/0.4211, allocations: 23.91 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.4212, allocations: 15.92 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.4212, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.4216, allocations: 119.8 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.4216, allocations: 8 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.4217, allocations: 23.91 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.422, allocations: 87.72 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.422, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/0.422, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.422, allocations: 0 / 1.325 GB, free: 14.54 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.0006648/0.4227, allocations: 355.3 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4227, allocations: 15.97 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.423, allocations: 12.88 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.4232, allocations: 164.3 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.4233, allocations: 8.375 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.4233, allocations: 12.36 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.4235, allocations: 68.39 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4235, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4235, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.4235, allocations: 4 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.4235, allocations: 11.92 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008575/0.4244, allocations: 474.8 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.4247, allocations: 67.78 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.4247, allocations: 26.58 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.4247, allocations: 4 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4248, allocations: 30.56 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4248, allocations: 3.938 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0008946/0.4257, allocations: 310.5 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.4258, allocations: 106.8 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.4259, allocations: 101.8 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.4259, allocations: 25.7 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.4259, allocations: 91.97 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.426, allocations: 27.8 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.426, allocations: 25.72 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4262, allocations: 326.8 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.4262, allocations: 11.98 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.4263, allocations: 57.2 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4264, allocations: 73.59 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.4264, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001617/0.4266, allocations: 97.48 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4266, allocations: 8 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4266, allocations: 3.984 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.4266, allocations: 4 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.4267, allocations: 19.94 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4267, allocations: 4.125 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.4268, allocations: 11.89 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.4268, allocations: 4 kB / 1.328 GB, free: 11.66 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 0.0001333/0.4269, allocations: 121.8 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.427, allocations: 0 / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.427, allocations: 11.56 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.427, allocations: 3.938 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.427, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.427, allocations: 4 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.4274, allocations: 181.6 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4274, allocations: 0 / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.29e-05/0.4275, allocations: 15.98 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4275, allocations: 4 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.4276, allocations: 0 / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4276, allocations: 0 / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.4276, allocations: 4 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.4279, allocations: 337.9 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.4282, allocations: 81.11 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.4282, allocations: 4 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.4284, allocations: 4.031 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.4284, allocations: 8 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.4284, allocations: 7.938 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.625e-05/0.4285, allocations: 79.22 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4285, allocations: 0 / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003561/0.4288, allocations: 20 kB / 1.329 GB, free: 10.7 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.0001733/0.429, allocations: 103.3 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.4291, allocations: 47.86 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4291, allocations: 0 / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.4292, allocations: 20.31 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.4296, allocations: 16.05 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007518/0.4304, allocations: 347.8 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.4307, allocations: 0.6845 MB / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.748e-05/0.4308, allocations: 8 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.4308, allocations: 11.44 kB / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.4308, allocations: 0 / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of Templates: time 0.003941/0.4348, allocations: 0.655 MB / 1.331 GB, free: 8.785 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: 9.584412296302617]