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.001219/0.001219, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001288/0.001288, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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 0.9375/0.9375, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.755/1.755, allocations: 359 MB / 0.6055 GB, free: 10.89 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 1.272e-06/1.272e-06, allocations: 0.5469 kB / 0.7875 GB, free: 11.11 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.419e-05, allocations: 3.969 kB / 0.7875 GB, free: 11.1 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00167/0.001684, allocations: 1.306 MB / 0.7888 GB, free: 9.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.003796, allocations: 2.588 MB / 0.7913 GB, free: 7.207 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.00382, allocations: 0.6875 kB / 0.7913 GB, free: 7.207 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.003839, allocations: 7.922 kB / 0.7913 GB, free: 7.199 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.003879, allocations: 1.594 kB / 0.7913 GB, free: 7.199 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.004365, allocations: 136 kB / 0.7915 GB, free: 7.066 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.719e-05/0.004432, allocations: 35.27 kB / 0.7915 GB, free: 7.035 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.004467, allocations: 8 kB / 0.7915 GB, free: 7.027 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.004535, allocations: 23.95 kB / 0.7915 GB, free: 7.004 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.004598, allocations: 15.92 kB / 0.7915 GB, free: 6.988 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.004611, allocations: 4 kB / 0.7916 GB, free: 6.984 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.004804, allocations: 99.73 kB / 0.7916 GB, free: 6.887 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.004821, allocations: 15.92 kB / 0.7917 GB, free: 6.871 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.004841, allocations: 11.98 kB / 0.7917 GB, free: 6.859 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.005003, allocations: 87.64 kB / 0.7918 GB, free: 6.773 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005006, allocations: 4.719 kB / 0.7918 GB, free: 6.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005007, allocations: 0 / 0.7918 GB, free: 6.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005011, allocations: 1.656 kB / 0.7918 GB, free: 6.77 MB / 0.698 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.0003456/0.005356, allocations: 372.2 kB / 0.7921 GB, free: 6.371 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.005401, allocations: 16.02 kB / 0.7921 GB, free: 6.355 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.00557, allocations: 21.42 kB / 0.7922 GB, free: 6.336 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.223e-05/0.005643, allocations: 108.6 kB / 0.7923 GB, free: 6.203 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.005656, allocations: 9.719 kB / 0.7923 GB, free: 6.195 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.005673, allocations: 4.375 kB / 0.7923 GB, free: 6.191 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.005798, allocations: 158.3 kB / 0.7924 GB, free: 6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005806, allocations: 0.7812 kB / 0.7924 GB, free: 6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.005814, allocations: 4.125 kB / 0.7924 GB, free: 5.996 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.005821, allocations: 1.344 kB / 0.7924 GB, free: 5.996 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.005848, allocations: 11.98 kB / 0.7924 GB, free: 5.984 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.006293, allocations: 0.5112 MB / 0.7929 GB, free: 5.438 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.006408, allocations: 97.23 kB / 0.793 GB, free: 5.305 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.006435, allocations: 23.72 kB / 0.7931 GB, free: 5.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.006443, allocations: 4 kB / 0.7931 GB, free: 5.266 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.006474, allocations: 50.81 kB / 0.7931 GB, free: 5.207 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.853e-06/0.006476, allocations: 0 / 0.7931 GB, free: 5.207 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004546/0.00693, allocations: 223.1 kB / 0.7933 GB, free: 4.953 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.006975, allocations: 106.8 kB / 0.7934 GB, free: 4.824 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.007054, allocations: 170.4 kB / 0.7936 GB, free: 4.641 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.007067, allocations: 25.7 kB / 0.7936 GB, free: 4.609 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.007119, allocations: 135.4 kB / 0.7937 GB, free: 4.473 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.007137, allocations: 28.61 kB / 0.7938 GB, free: 4.445 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.00717, allocations: 31.36 kB / 0.7938 GB, free: 4.406 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.007304, allocations: 0.4931 MB / 0.7943 GB, free: 3.902 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.007318, allocations: 11.98 kB / 0.7943 GB, free: 3.891 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-05/0.007365, allocations: 66.11 kB / 0.7943 GB, free: 3.801 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.007432, allocations: 79.89 kB / 0.7944 GB, free: 3.699 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007434, allocations: 1.156 kB / 0.7944 GB, free: 3.699 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.58e-05/0.007529, allocations: 90.27 kB / 0.7945 GB, free: 3.605 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.00754, allocations: 4 kB / 0.7945 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.007546, allocations: 4.812 kB / 0.7945 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.007558, allocations: 0 / 0.7945 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.007609, allocations: 27.98 kB / 0.7945 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.007614, allocations: 0.9375 kB / 0.7945 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.007637, allocations: 7.953 kB / 0.7946 GB, free: 3.562 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.007642, allocations: 5.156 kB / 0.7946 GB, free: 3.559 MB / 0.698 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.828e-05/0.00771, allocations: 160.6 kB / 0.7947 GB, free: 3.391 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.007743, allocations: 11.92 kB / 0.7947 GB, free: 3.379 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.007776, allocations: 12.78 kB / 0.7947 GB, free: 3.363 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.007778, allocations: 0 / 0.7947 GB, free: 3.363 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.007779, allocations: 2.312 kB / 0.7947 GB, free: 3.363 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.007783, allocations: 4 kB / 0.7947 GB, free: 3.359 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.00798, allocations: 113.2 kB / 0.7949 GB, free: 3.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.007981, allocations: 4 kB / 0.7949 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.008028, allocations: 15.98 kB / 0.7949 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.008029, allocations: 0 / 0.7949 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.008038, allocations: 15.28 kB / 0.7949 GB, free: 3.191 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008039, allocations: 0 / 0.7949 GB, free: 3.191 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00804, allocations: 0 / 0.7949 GB, free: 3.191 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.008441, allocations: 462.2 kB / 0.7953 GB, free: 2.719 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.008466, allocations: 4 kB / 0.7953 GB, free: 2.715 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.008477, allocations: 3.938 kB / 0.7953 GB, free: 2.711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.008561, allocations: 8 kB / 0.7953 GB, free: 2.703 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.008576, allocations: 7.922 kB / 0.7953 GB, free: 2.695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.008583, allocations: 7.938 kB / 0.7954 GB, free: 2.688 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.008617, allocations: 120.5 kB / 0.7955 GB, free: 2.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.008617, allocations: 4 kB / 0.7955 GB, free: 2.566 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001952/0.008813, allocations: 12.5 kB / 0.7955 GB, free: 2.555 MB / 0.698 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.0001016/0.008914, allocations: 108.5 kB / 0.7956 GB, free: 2.441 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.166e-05/0.008996, allocations: 48.94 kB / 0.7956 GB, free: 2.391 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008997, allocations: 4 kB / 0.7956 GB, free: 2.387 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.009018, allocations: 32.56 kB / 0.7957 GB, free: 2.352 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.009296, allocations: 17.33 kB / 0.7957 GB, free: 2.336 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.009787, allocations: 291.3 kB / 0.796 GB, free: 2.027 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.009828, allocations: 63.34 kB / 0.796 GB, free: 1.945 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.009858, allocations: 7.984 kB / 0.796 GB, free: 1.938 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.009915, allocations: 82.2 kB / 0.7961 GB, free: 1.855 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/0.009916, allocations: 0 / 0.7961 GB, free: 1.855 MB / 0.698 GB Notification: Performance of Templates: time 0.00227/0.01219, allocations: 0.7582 MB / 0.7969 GB, free: 1.148 MB / 0.698 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: 4.648133199196309]