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.001938/0.001938, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001703/0.001703, allocations: 159.2 kB / 22.45 MB, free: 5.375 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.036/3.036, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.607e-06/3.607e-06, allocations: 7.922 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.879e-05, allocations: 2.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002369/0.002397, allocations: 1.278 MB / 0.9826 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003392/0.00579, allocations: 2.378 MB / 0.985 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.005817, allocations: 0 / 0.985 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.005838, allocations: 3.984 kB / 0.985 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.005889, allocations: 11.86 kB / 0.985 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.006466, allocations: 131.3 kB / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.749e-05/0.006554, allocations: 35.91 kB / 0.9851 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.006602, allocations: 0 / 0.9851 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.006677, allocations: 27.91 kB / 0.9852 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.006745, allocations: 23.91 kB / 0.9852 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.006758, allocations: 0 / 0.9852 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.007023, allocations: 103.7 kB / 0.9853 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.007048, allocations: 11.98 kB / 0.9853 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.007077, allocations: 11.92 kB / 0.9853 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.00731, allocations: 87.77 kB / 0.9854 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.007314, allocations: 4 kB / 0.9854 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.41e-07/0.007314, allocations: 0 / 0.9854 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.00732, allocations: 0 / 0.9854 GB, free: 7.879 MB / 0.9356 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.0005135/0.007834, allocations: 274.2 kB / 0.9857 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.007873, allocations: 8.031 kB / 0.9857 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.008141, allocations: 16.92 kB / 0.9857 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.008262, allocations: 109.7 kB / 0.9858 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.008276, allocations: 4.375 kB / 0.9858 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.008309, allocations: 4.375 kB / 0.9858 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.008538, allocations: 153.9 kB / 0.9859 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.008549, allocations: 4.188 kB / 0.9859 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.008567, allocations: 8.109 kB / 0.986 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.008575, allocations: 4 kB / 0.986 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.131e-05/0.008627, allocations: 11.92 kB / 0.986 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.00932, allocations: 385 kB / 0.9863 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.009482, allocations: 71.66 kB / 0.9864 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.009519, allocations: 18.7 kB / 0.9864 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.00953, allocations: 3.938 kB / 0.9864 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.009569, allocations: 46.5 kB / 0.9865 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.00957, allocations: 0 / 0.9865 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000716/0.01029, allocations: 233.1 kB / 0.9867 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.01037, allocations: 106.8 kB / 0.9868 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.01046, allocations: 97.84 kB / 0.9869 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.01048, allocations: 29.7 kB / 0.9869 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.01055, allocations: 88.09 kB / 0.987 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.01058, allocations: 35.72 kB / 0.987 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.01063, allocations: 25.97 kB / 0.9871 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.0108, allocations: 314.8 kB / 0.9874 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.01083, allocations: 15.98 kB / 0.9874 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.0109, allocations: 49.14 kB / 0.9874 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.01102, allocations: 77.03 kB / 0.9875 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.01102, allocations: 0 / 0.9875 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001565/0.01118, allocations: 98.12 kB / 0.9876 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.0112, allocations: 12 kB / 0.9876 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.0112, allocations: 0 / 0.9876 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.01123, allocations: 7.938 kB / 0.9876 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.01131, allocations: 23.92 kB / 0.9876 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01132, allocations: 0 / 0.9876 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.01136, allocations: 8 kB / 0.9876 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.01137, allocations: 4 kB / 0.9876 GB, free: 5.273 MB / 0.9356 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.000102/0.01147, allocations: 117.8 kB / 0.9878 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.01154, allocations: 15.95 kB / 0.9878 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.01157, allocations: 7.812 kB / 0.9878 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01157, allocations: 4 kB / 0.9878 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.01159, allocations: 4 kB / 0.9878 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01159, allocations: 0 / 0.9878 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.01191, allocations: 121.3 kB / 0.9879 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01191, allocations: 0 / 0.9879 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.01201, allocations: 19.92 kB / 0.9879 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01201, allocations: 4 kB / 0.9879 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.01202, allocations: 0 / 0.9879 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.01202, allocations: 3.938 kB / 0.9879 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.01202, allocations: 4 kB / 0.9879 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.01236, allocations: 334.1 kB / 0.9882 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.01239, allocations: 11.89 kB / 0.9883 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.01241, allocations: 0 / 0.9883 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.01258, allocations: 8.031 kB / 0.9883 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.0126, allocations: 0 / 0.9883 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.01261, allocations: 8 kB / 0.9883 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.01267, allocations: 87.2 kB / 0.9884 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01267, allocations: 0 / 0.9884 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003249/0.01299, allocations: 16 kB / 0.9884 GB, free: 4.469 MB / 0.9356 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.0001705/0.01317, allocations: 107.2 kB / 0.9885 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.01328, allocations: 39.92 kB / 0.9885 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01328, allocations: 0 / 0.9885 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.01331, allocations: 23.92 kB / 0.9885 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.01376, allocations: 7.938 kB / 0.9885 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.01434, allocations: 269.5 kB / 0.9888 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.01441, allocations: 69.31 kB / 0.9889 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.937e-05/0.01446, allocations: 15.92 kB / 0.9889 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.01449, allocations: 12.5 kB / 0.9889 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01449, allocations: 0 / 0.9889 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of Templates: time 0.003396/0.01789, allocations: 0.6567 MB / 0.9895 GB, free: 3.27 MB / 0.9356 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: 8.306911800056696]