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.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.001898/0.001898, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.001947/0.001947, allocations: 157.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.904/2.904, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.784e-06/1.784e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.427e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002655/0.002689, allocations: 1.292 MB / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004264/0.006954, allocations: 2.597 MB / 0.7901 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.006989, allocations: 5.406 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.007008, allocations: 0 / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.007078, allocations: 11.86 kB / 0.7902 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.007775, allocations: 133.2 kB / 0.7903 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.881e-05/0.007864, allocations: 31.92 kB / 0.7903 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.007903, allocations: 9.047 kB / 0.7903 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.007983, allocations: 31.91 kB / 0.7904 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.008051, allocations: 15.97 kB / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.008067, allocations: 0.5 kB / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.008375, allocations: 104.4 kB / 0.7905 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.008392, allocations: 4 kB / 0.7905 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.008429, allocations: 21.56 kB / 0.7905 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.008667, allocations: 83.78 kB / 0.7906 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.008671, allocations: 0 / 0.7906 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/0.008672, allocations: 0 / 0.7906 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.008677, allocations: 1.188 kB / 0.7906 GB, free: 8.512 MB / 0.7448 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.0005501/0.009228, allocations: 376.2 kB / 0.7909 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.009265, allocations: 8.031 kB / 0.7909 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.009515, allocations: 30.34 kB / 0.791 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.009638, allocations: 112.6 kB / 0.7911 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.009655, allocations: 8.312 kB / 0.7911 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.009679, allocations: 5.625 kB / 0.7911 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.009901, allocations: 158.4 kB / 0.7912 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.009911, allocations: 192 / 0.7912 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.009928, allocations: 4.125 kB / 0.7912 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.009932, allocations: 3 kB / 0.7913 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.521e-05/0.009987, allocations: 19.92 kB / 0.7913 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.01073, allocations: 0.521 MB / 0.7918 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.01093, allocations: 97.11 kB / 0.7919 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.01097, allocations: 31.19 kB / 0.7919 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.01099, allocations: 7.938 kB / 0.7919 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.01103, allocations: 33.92 kB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.01103, allocations: 0.6562 kB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006902/0.01172, allocations: 251.7 kB / 0.7922 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.01181, allocations: 110.8 kB / 0.7923 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.01195, allocations: 161.9 kB / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.01199, allocations: 26.23 kB / 0.7925 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/0.01209, allocations: 138.8 kB / 0.7926 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.01212, allocations: 33.11 kB / 0.7926 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.01218, allocations: 31.38 kB / 0.7927 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003037/0.01249, allocations: 496.1 kB / 0.7931 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.01252, allocations: 13.14 kB / 0.7931 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.01262, allocations: 70.11 kB / 0.7932 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.01276, allocations: 87.16 kB / 0.7933 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01276, allocations: 1.75 kB / 0.7933 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001753/0.01293, allocations: 101.5 kB / 0.7934 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.01295, allocations: 11.94 kB / 0.7934 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01296, allocations: 2.094 kB / 0.7934 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.01298, allocations: 7.984 kB / 0.7934 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.01305, allocations: 19.94 kB / 0.7934 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01306, allocations: 0 / 0.7934 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.0131, allocations: 4 kB / 0.7934 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.01311, allocations: 4.625 kB / 0.7934 GB, free: 5.223 MB / 0.7448 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.0001245/0.01323, allocations: 168 kB / 0.7936 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.0133, allocations: 19.88 kB / 0.7936 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.01333, allocations: 7.812 kB / 0.7936 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01334, allocations: 4 kB / 0.7936 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01334, allocations: 0 / 0.7936 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01334, allocations: 0 / 0.7936 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.01367, allocations: 128.6 kB / 0.7938 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.01367, allocations: 4 kB / 0.7938 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.01376, allocations: 19.92 kB / 0.7938 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01376, allocations: 0.5 kB / 0.7938 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.01377, allocations: 4 kB / 0.7938 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01378, allocations: 0.5625 kB / 0.7938 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01378, allocations: 1.531 kB / 0.7938 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.01419, allocations: 478.2 kB / 0.7942 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.01422, allocations: 11.94 kB / 0.7943 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.01423, allocations: 0.875 kB / 0.7943 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.01438, allocations: 7.984 kB / 0.7943 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.01441, allocations: 1.75 kB / 0.7943 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.01442, allocations: 12 kB / 0.7943 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.122e-05/0.0145, allocations: 131.2 kB / 0.7944 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0145, allocations: 0 / 0.7944 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002984/0.0148, allocations: 12.91 kB / 0.7944 GB, free: 4.168 MB / 0.7448 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.0001697/0.01497, allocations: 108 kB / 0.7945 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.01511, allocations: 52.55 kB / 0.7946 GB, free: 4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01511, allocations: 1.344 kB / 0.7946 GB, free: 4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.407e-05/0.01516, allocations: 31.61 kB / 0.7946 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.01555, allocations: 16.8 kB / 0.7946 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.01616, allocations: 274.8 kB / 0.7949 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.688e-05/0.01624, allocations: 68.66 kB / 0.7949 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.638e-05/0.01629, allocations: 8 kB / 0.7949 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.01632, allocations: 16.44 kB / 0.795 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01632, allocations: 0 / 0.795 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.003834/0.02015, allocations: 0.6843 MB / 0.7956 GB, free: 2.914 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] 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: 7.949445747071877]