Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000839/0.000839, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002027, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007558/0.0007558, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.00178, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.026/1.026, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09255/1.118, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.34/2.34, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.249/2.589, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.589e-05/3.73e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002802/0.002839, allocations: 1.366 MB / 0.8196 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003088/0.005927, allocations: 2.62 MB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.005952, allocations: 0 / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.005969, allocations: 3.938 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.83e-05/0.005997, allocations: 11.92 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.006492, allocations: 127.3 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.56e-05/0.006568, allocations: 43.84 kB / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.911e-05/0.006597, allocations: 3.938 kB / 0.8223 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.006658, allocations: 23.97 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.006713, allocations: 15.97 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.006723, allocations: 0 / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.007011, allocations: 111.7 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.007025, allocations: 7.938 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.007046, allocations: 8 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.00722, allocations: 71.81 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.624e-05/0.007237, allocations: 3.938 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.583e-06/0.007238, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.007253, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 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.0003161/0.007569, allocations: 268.5 kB / 0.8228 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.007599, allocations: 8.625 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.007823, allocations: 109.9 kB / 0.8229 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.52e-05/0.007888, allocations: 101.8 kB / 0.823 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.007899, allocations: 8.375 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.007918, allocations: 12.33 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.008041, allocations: 149.8 kB / 0.8232 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.008047, allocations: 192 / 0.8232 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.008055, allocations: 4.125 kB / 0.8232 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.00806, allocations: 4 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.008084, allocations: 4 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.008458, allocations: 348.6 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.008557, allocations: 67.64 kB / 0.8236 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.008579, allocations: 18.7 kB / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.008588, allocations: 8 kB / 0.8236 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.008612, allocations: 34.56 kB / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.008613, allocations: 0 / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0004933/0.009106, allocations: 241 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.009158, allocations: 107.1 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.009217, allocations: 110.7 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.00923, allocations: 29.7 kB / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.009266, allocations: 84.09 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.009286, allocations: 27.75 kB / 0.8242 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.009327, allocations: 29.69 kB / 0.8243 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.009413, allocations: 318.8 kB / 0.8246 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.009426, allocations: 11.94 kB / 0.8246 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.009467, allocations: 49.08 kB / 0.8246 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.947e-05/0.009537, allocations: 76.98 kB / 0.8247 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.009538, allocations: 0 / 0.8247 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.982e-05/0.009638, allocations: 77.48 kB / 0.8248 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.009653, allocations: 8 kB / 0.8248 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.009658, allocations: 0 / 0.8248 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.009667, allocations: 0 / 0.8248 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.009737, allocations: 23.98 kB / 0.8248 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.009742, allocations: 4 kB / 0.8248 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.009775, allocations: 4.125 kB / 0.8248 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.009782, allocations: 4 kB / 0.8248 GB, free: 11.89 MB / 0.8073 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 6.645e-05/0.009849, allocations: 117.8 kB / 0.8249 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.009906, allocations: 12.53 kB / 0.825 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.00993, allocations: 7.812 kB / 0.825 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.009933, allocations: 4 kB / 0.825 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.009935, allocations: 0 / 0.825 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009939, allocations: 0 / 0.825 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.01023, allocations: 93.92 kB / 0.8251 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01024, allocations: 4 kB / 0.8251 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.172e-05/0.01031, allocations: 19.98 kB / 0.8251 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.01033, allocations: 11.89 kB / 0.8251 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01034, allocations: 7.938 kB / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.01034, allocations: 0 / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01034, allocations: 3.938 kB / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01035, allocations: 0 / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.01053, allocations: 314.1 kB / 0.8254 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.01054, allocations: 4 kB / 0.8254 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.01068, allocations: 3.938 kB / 0.8254 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.0107, allocations: 15.92 kB / 0.8254 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.01071, allocations: 4 kB / 0.8254 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.038e-05/0.01072, allocations: 12.8 kB / 0.8254 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01072, allocations: 0 / 0.8254 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003422/0.01106, allocations: 16 kB / 0.8255 GB, free: 11.21 MB / 0.8073 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.0001162/0.01118, allocations: 80.42 kB / 0.8255 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.01127, allocations: 44.78 kB / 0.8256 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.01128, allocations: 4.25 kB / 0.8256 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.318e-05/0.0113, allocations: 28.77 kB / 0.8256 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.01169, allocations: 19.98 kB / 0.8256 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.01306, allocations: 205.9 kB / 0.8258 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.013e-05/0.01312, allocations: 63.34 kB / 0.8259 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.405e-05/0.01316, allocations: 4 kB / 0.8259 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.01324, allocations: 67.36 kB / 0.8259 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.01324, allocations: 0 / 0.8259 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of Templates: time 0.002992/0.01623, allocations: 0.7874 MB / 0.8267 GB, free: 9.895 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Not compared, constant in the reference and not in the result: der(cpCod), der(cvCod) Reference file matches [Calling sys.exit(0), Time elapsed: 5.202490851283073]