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.001902/0.001902, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.002238/0.002238, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.448/1.448, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.558/2.558, allocations: 443.5 MB / 0.7293 GB, free: 14.48 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.001913/0.001913, allocations: 59.91 kB / 1.057 GB, free: 1.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3311, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002515/0.3336, allocations: 1.264 MB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.3369, allocations: 2.515 MB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.3369, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.3369, allocations: 3.938 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.583e-05/0.337, allocations: 19.84 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.3375, allocations: 131.4 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.3376, allocations: 31.92 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.116e-05/0.3376, allocations: 0 / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.3376, allocations: 19.92 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.3377, allocations: 19.97 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3377, allocations: 0 / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.338, allocations: 123.7 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.338, allocations: 11.94 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.3381, allocations: 7.938 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.3383, allocations: 99.75 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3383, allocations: 0 / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3383, allocations: 0 / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5e-06/0.3383, allocations: 3.938 kB / 1.218 GB, free: 12.66 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.0004374/0.3387, allocations: 343.4 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3388, allocations: 8.031 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.339, allocations: 16.92 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3391, allocations: 168.3 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3391, allocations: 4.375 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.3392, allocations: 16.33 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3393, allocations: 68.38 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3393, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3393, allocations: 4 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3393, allocations: 4 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.103e-05/0.3394, allocations: 11.92 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.34, allocations: 466.9 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3401, allocations: 75.81 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.3402, allocations: 26.64 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.3402, allocations: 3.938 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.3402, allocations: 30.56 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.3402, allocations: 0 / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006546/0.3409, allocations: 314.4 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.3409, allocations: 102.8 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.341, allocations: 101.8 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.341, allocations: 25.7 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.3411, allocations: 92.03 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.3411, allocations: 23.8 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.3411, allocations: 29.7 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3413, allocations: 318.8 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-05/0.3413, allocations: 20.02 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.875e-05/0.3414, allocations: 61.02 kB / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.3415, allocations: 73.59 kB / 1.22 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3415, allocations: 3.938 kB / 1.22 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001467/0.3416, allocations: 93.5 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3416, allocations: 8 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3416, allocations: 0 / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3417, allocations: 4 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.238e-05/0.3417, allocations: 23.92 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3417, allocations: 0 / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.3418, allocations: 16.06 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3418, allocations: 7.984 kB / 1.221 GB, free: 9.781 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.191e-05/0.3419, allocations: 117.8 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.3419, allocations: 4 kB / 1.221 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.342, allocations: 11.55 kB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.342, allocations: 0 / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.342, allocations: 4 kB / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.342, allocations: 0 / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.3423, allocations: 177.6 kB / 1.221 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3424, allocations: 4 kB / 1.221 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.3424, allocations: 19.94 kB / 1.221 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3424, allocations: 0 / 1.221 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3425, allocations: 3.984 kB / 1.221 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3425, allocations: 4 kB / 1.221 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3425, allocations: 0 / 1.221 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.3427, allocations: 334 kB / 1.221 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.3428, allocations: 85.09 kB / 1.221 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.3428, allocations: 7.938 kB / 1.221 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.343, allocations: 0 / 1.221 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.343, allocations: 8.047 kB / 1.221 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.343, allocations: 15.94 kB / 1.221 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.3431, allocations: 75.28 kB / 1.221 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3431, allocations: 0 / 1.221 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003122/0.3434, allocations: 19.94 kB / 1.221 GB, free: 8.809 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.0001361/0.3435, allocations: 111.2 kB / 1.222 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.3436, allocations: 39.92 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3436, allocations: 0 / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.3437, allocations: 19.94 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.3441, allocations: 4.375 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.3447, allocations: 368.3 kB / 1.222 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3451, allocations: 0.6884 MB / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.3451, allocations: 11.44 kB / 1.223 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.3451, allocations: 3.938 kB / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of Templates: time 0.002488/0.3476, allocations: 0.7961 MB / 1.223 GB, free: 6.715 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/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.42458921088837]