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.001186/0.001186, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001261/0.001261, allocations: 165 kB / 23.82 MB, free: 0.7461 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.003/1.003, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.798/1.798, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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 2.274e-06/2.274e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.584e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002384/0.002419, allocations: 1.309 MB / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.004851, allocations: 2.609 MB / 0.7909 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.004881, allocations: 0 / 0.7909 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.004907, allocations: 7.922 kB / 0.7909 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.004954, allocations: 5.531 kB / 0.7909 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.005465, allocations: 129 kB / 0.791 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.506e-05/0.00553, allocations: 35.84 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.005566, allocations: 11.98 kB / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.005618, allocations: 19.92 kB / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.935e-05/0.005677, allocations: 22.56 kB / 0.7911 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.005691, allocations: 4 kB / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.005915, allocations: 103.6 kB / 0.7912 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.005931, allocations: 11.98 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.005957, allocations: 11.98 kB / 0.7912 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.006135, allocations: 83.72 kB / 0.7913 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.006139, allocations: 4.656 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/0.006141, allocations: 0 / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.006146, allocations: 1.656 kB / 0.7913 GB, free: 8.129 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.0003726/0.006519, allocations: 376.2 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.006559, allocations: 12.03 kB / 0.7917 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.006735, allocations: 25.11 kB / 0.7917 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.869e-05/0.006804, allocations: 106 kB / 0.7918 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.006817, allocations: 8.375 kB / 0.7918 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.006845, allocations: 12.36 kB / 0.7918 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.006988, allocations: 159.5 kB / 0.792 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.006995, allocations: 192 / 0.792 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.007006, allocations: 4.125 kB / 0.792 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.007016, allocations: 5.375 kB / 0.792 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.007047, allocations: 11.97 kB / 0.792 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.007509, allocations: 0.5266 MB / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.007626, allocations: 93.11 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.007653, allocations: 31.19 kB / 0.7926 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.007663, allocations: 11.95 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.007693, allocations: 41.86 kB / 0.7927 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.007694, allocations: 1 kB / 0.7927 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004823/0.008176, allocations: 231.5 kB / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.008215, allocations: 110.8 kB / 0.793 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.008285, allocations: 157.9 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.008296, allocations: 29.7 kB / 0.7932 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.008339, allocations: 136.9 kB / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.008357, allocations: 27.73 kB / 0.7934 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.008389, allocations: 31.38 kB / 0.7934 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.008495, allocations: 0.4884 MB / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.008515, allocations: 8 kB / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.008556, allocations: 62.11 kB / 0.7939 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.87e-05/0.008625, allocations: 91.77 kB / 0.794 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.008626, allocations: 4.531 kB / 0.794 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001039/0.00873, allocations: 94.98 kB / 0.7941 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.008743, allocations: 4 kB / 0.7941 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.008749, allocations: 4 kB / 0.7941 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.008764, allocations: 1.141 kB / 0.7941 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.008818, allocations: 16.91 kB / 0.7941 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.008826, allocations: 11.92 kB / 0.7941 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.008849, allocations: 4.797 kB / 0.7941 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.008854, allocations: 4 kB / 0.7942 GB, free: 4.871 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 6.528e-05/0.008919, allocations: 161.9 kB / 0.7943 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.008961, allocations: 15.94 kB / 0.7943 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.008986, allocations: 7.812 kB / 0.7943 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.008989, allocations: 4.516 kB / 0.7943 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.008993, allocations: 4 kB / 0.7943 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.008996, allocations: 0.6562 kB / 0.7943 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.009195, allocations: 136.5 kB / 0.7945 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.009197, allocations: 5.766 kB / 0.7945 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.009245, allocations: 19.88 kB / 0.7945 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009248, allocations: 4 kB / 0.7945 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.009256, allocations: 0 / 0.7945 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.009259, allocations: 4.938 kB / 0.7945 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009259, allocations: 0 / 0.7945 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.009469, allocations: 469.7 kB / 0.795 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.009496, allocations: 11.92 kB / 0.795 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.009508, allocations: 4 kB / 0.795 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.009603, allocations: 0 / 0.795 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.009622, allocations: 11.92 kB / 0.795 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.009629, allocations: 8 kB / 0.795 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.00966, allocations: 119.2 kB / 0.7951 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00966, allocations: 0 / 0.7951 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002087/0.009869, allocations: 16 kB / 0.7951 GB, free: 3.824 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.0001143/0.009983, allocations: 104.3 kB / 0.7952 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.01008, allocations: 53.44 kB / 0.7953 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01008, allocations: 0 / 0.7953 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.061e-05/0.0101, allocations: 24.47 kB / 0.7953 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.0104, allocations: 21.95 kB / 0.7953 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.01102, allocations: 290.7 kB / 0.7956 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.541e-05/0.01107, allocations: 63.34 kB / 0.7956 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.0111, allocations: 8 kB / 0.7957 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.01113, allocations: 12.5 kB / 0.7957 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/0.01113, allocations: 0 / 0.7957 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.002481/0.01361, allocations: 0.6792 MB / 0.7963 GB, free: 2.57 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","",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: 5.274083276744932]