Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001313/0.001313, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001352/0.001352, allocations: 186 kB / 20.78 MB, free: 1.547 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.493/1.493, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 63.89 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247/1.25, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002499/1.252, allocations: 1.28 MB / 1.273 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003341/1.256, allocations: 2.526 MB / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/1.256, allocations: 0 / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/1.256, allocations: 2.438 kB / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.675e-05/1.256, allocations: 9.484 kB / 1.276 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/1.256, allocations: 140.1 kB / 1.276 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/1.257, allocations: 43.27 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/1.257, allocations: 1.344 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/1.257, allocations: 14.17 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/1.257, allocations: 23.12 kB / 1.276 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/1.257, allocations: 2.219 kB / 1.276 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/1.257, allocations: 119.6 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/1.257, allocations: 7.656 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/1.257, allocations: 12.91 kB / 1.276 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/1.257, allocations: 91.48 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.257, allocations: 0.6875 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.807e-06/1.257, allocations: 0.75 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.257, allocations: 0 / 1.276 GB, free: 5.031 MB / 0.9981 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.0004504/1.258, allocations: 355.3 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.258, allocations: 9.688 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/1.258, allocations: 13.83 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.443e-05/1.258, allocations: 163.4 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/1.258, allocations: 2.312 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/1.258, allocations: 15.97 kB / 1.277 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/1.258, allocations: 74.8 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.258, allocations: 0.875 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/1.258, allocations: 0.9375 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.258, allocations: 1.031 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.763e-05/1.259, allocations: 13.12 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/1.259, allocations: 471.4 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/1.259, allocations: 68.06 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/1.259, allocations: 27.33 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/1.259, allocations: 0.8125 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/1.259, allocations: 37.12 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/1.259, allocations: 1 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005809/1.26, allocations: 314.2 kB / 1.278 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/1.26, allocations: 104.7 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.883e-05/1.26, allocations: 99.64 kB / 1.278 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/1.26, allocations: 27.55 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/1.26, allocations: 86.64 kB / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/1.26, allocations: 32.73 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/1.26, allocations: 27.47 kB / 1.278 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.321e-05/1.26, allocations: 323.3 kB / 1.278 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/1.26, allocations: 12.86 kB / 1.278 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/1.26, allocations: 52.06 kB / 1.278 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.09e-05/1.26, allocations: 80.97 kB / 1.278 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/1.26, allocations: 1.312 kB / 1.278 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001345/1.26, allocations: 96.69 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.26, allocations: 6.031 kB / 1.279 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.26, allocations: 1.75 kB / 1.279 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.26, allocations: 1.719 kB / 1.279 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/1.261, allocations: 21 kB / 1.279 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.261, allocations: 7.641 kB / 1.279 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/1.261, allocations: 2.062 kB / 1.279 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/1.261, allocations: 4.375 kB / 1.279 GB, free: 2.543 MB / 0.9981 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 5.859e-05/1.261, allocations: 121.2 kB / 1.279 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/1.261, allocations: 7.078 kB / 1.279 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/1.261, allocations: 10.73 kB / 1.279 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.261, allocations: 5.812 kB / 1.279 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.261, allocations: 1.188 kB / 1.279 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/1.261, allocations: 1.031 kB / 1.279 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/1.261, allocations: 182.6 kB / 1.279 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.261, allocations: 0.5938 kB / 1.279 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.151e-05/1.261, allocations: 15.09 kB / 1.279 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.261, allocations: 0.8438 kB / 1.279 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/1.261, allocations: 6.344 kB / 1.279 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.261, allocations: 1.938 kB / 1.279 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.261, allocations: 4.844 kB / 1.279 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/1.261, allocations: 335.6 kB / 1.279 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/1.261, allocations: 88.34 kB / 1.279 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/1.261, allocations: 0.8438 kB / 1.279 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/1.262, allocations: 2.969 kB / 1.279 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/1.262, allocations: 12.84 kB / 1.279 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/1.262, allocations: 6.719 kB / 1.279 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.456e-05/1.262, allocations: 79.61 kB / 1.279 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.262, allocations: 0 / 1.279 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003082/1.262, allocations: 18.34 kB / 1.279 GB, free: 1.691 MB / 0.9981 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/1.262, allocations: 108.2 kB / 1.28 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001475/1.262, allocations: 43.38 kB / 1.28 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.262, allocations: 0 / 1.28 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/1.262, allocations: 21.61 kB / 1.28 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/1.263, allocations: 12.03 kB / 1.28 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006558/1.263, allocations: 347.1 kB / 1.28 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/1.264, allocations: 0.6823 MB / 1.281 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.433e-05/1.264, allocations: 8.25 kB / 1.281 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/1.264, allocations: 11.94 kB / 1.281 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/1.264, allocations: 0 / 1.281 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of Templates: time 0.003632/1.267, allocations: 0.6739 MB / 1.281 GB, free: 0.5039 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.434039081446826]