Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.001344/0.001344, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001312/0.001312, allocations: 169 kB / 23.02 MB, free: 1.555 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.09/1.09, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.145/2.145, allocations: 429.5 MB / 0.6732 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.[0-9,]+..T|cooTan.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.[0-9,]+..T|cooTan.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.603e-05, allocations: 5.641 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01302/0.01304, allocations: 15.5 MB / 0.8933 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008827/0.02187, allocations: 5.583 MB / 0.8987 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.02321, allocations: 87.31 kB / 0.8988 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.02421, allocations: 0.4884 MB / 0.8993 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.02708, allocations: 1.631 MB / 0.9009 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.0291, allocations: 1.228 MB / 0.9021 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01382/0.04292, allocations: 20.24 MB / 0.9219 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0081/0.05102, allocations: 6.377 MB / 0.9281 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01539/0.06641, allocations: 9.011 MB / 0.9369 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009413/0.07583, allocations: 5.95 MB / 0.9427 GB, free: 4.09 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.002359/0.07818, allocations: 0.8438 MB / 0.9435 GB, free: 3.246 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.08148, allocations: 1.136 MB / 0.9446 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.08341, allocations: 2.285 MB / 0.9469 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.004211/0.08762, allocations: 3.076 MB / 0.9499 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.007807/0.09543, allocations: 7.331 MB / 0.957 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.09544, allocations: 4 kB / 0.957 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.854e-06/0.09544, allocations: 0 / 0.957 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.058e-05/0.09551, allocations: 0 / 0.957 GB, free: 5.379 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.009948/0.1055, allocations: 8.223 MB / 0.9651 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1055, allocations: 12.03 kB / 0.9651 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.1083, allocations: 1.39 MB / 0.9664 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007886/0.1161, allocations: 5.768 MB / 0.9721 GB, free: 5.82 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.1164, allocations: 415.4 kB / 0.9724 GB, free: 5.414 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007259/0.1171, allocations: 0.555 MB / 0.973 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008015/0.1251, allocations: 5.891 MB / 0.9787 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.1252, allocations: 23.83 kB / 0.9788 GB, free: 14.37 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004553/0.1257, allocations: 236 kB / 0.979 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/0.1258, allocations: 167.9 kB / 0.9792 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004814/0.1307, allocations: 2.079 MB / 0.9812 GB, free: 11.88 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/0.1512, allocations: 23.32 MB / 1.004 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.1534, allocations: 1.689 MB / 1.006 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.155, allocations: 1.367 MB / 1.007 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/0.1553, allocations: 122 kB / 1.007 GB, free: 0.9102 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.794e-05/0.1554, allocations: 75.5 kB / 1.007 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=267): time 4.498e-06/0.1554, allocations: 0 / 1.007 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of matching and sorting (n=267): time 0.004968/0.1604, allocations: 2.884 MB / 1.01 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1604, allocations: 77.52 kB / 1.01 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/0.1641, allocations: 3.799 MB / 1.014 GB, free: 9.949 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.1642, allocations: 73.7 kB / 1.014 GB, free: 9.871 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.1659, allocations: 3.17 MB / 1.017 GB, free: 6.676 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007261/0.1667, allocations: 1.031 MB / 1.018 GB, free: 5.637 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007292/0.1674, allocations: 0.7782 MB / 1.019 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1675, allocations: 476.8 kB / 1.019 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008928/0.1684, allocations: 0.5108 MB / 1.02 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.1703, allocations: 2.455 MB / 1.022 GB, free: 0.625 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.1733, allocations: 3.175 MB / 1.025 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/0.1733, allocations: 12 kB / 1.025 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.004158/0.1774, allocations: 3.162 MB / 1.028 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.1775, allocations: 24 kB / 1.028 GB, free: 9.402 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.1775, allocations: 36.09 kB / 1.028 GB, free: 9.367 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.1786, allocations: 405.4 kB / 1.029 GB, free: 8.965 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.1801, allocations: 0.858 MB / 1.029 GB, free: 8.105 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.1835, allocations: 5.284 MB / 1.035 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.1855, allocations: 481 kB / 1.035 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.1857, allocations: 176 kB / 1.035 GB, free: 1.941 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001253/0.1869, allocations: 415.1 kB / 1.036 GB, free: 1.523 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005841/0.1875, allocations: 0.5207 MB / 1.036 GB, free: 1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.1903, allocations: 2.146 MB / 1.038 GB, free: 14.79 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.1903, allocations: 28 kB / 1.038 GB, free: 14.77 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1903, allocations: 7.938 kB / 1.038 GB, free: 14.76 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002064/0.1924, allocations: 1.717 MB / 1.04 GB, free: 12.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00877/0.2011, allocations: 7.155 MB / 1.047 GB, free: 5.594 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.2011, allocations: 4 kB / 1.047 GB, free: 5.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.2022, allocations: 0.4993 MB / 1.047 GB, free: 5.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009639/0.2032, allocations: 354 kB / 1.048 GB, free: 4.738 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.2033, allocations: 79.89 kB / 1.048 GB, free: 4.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5262/0.7295, allocations: 5.215 MB / 1.053 GB, free: 173.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.7295, allocations: 8.969 kB / 1.053 GB, free: 173.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005932/0.7355, allocations: 2.992 MB / 1.056 GB, free: 173 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/0.7377, allocations: 0.8964 MB / 1.057 GB, free: 173 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006764/0.7383, allocations: 61.72 kB / 1.057 GB, free: 173 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.7399, allocations: 175.4 kB / 1.057 GB, free: 173 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.7402, allocations: 184.2 kB / 1.057 GB, free: 173 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/0.7404, allocations: 130.2 kB / 1.057 GB, free: 173 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003117/0.7436, allocations: 1.979 MB / 1.059 GB, free: 172.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7436, allocations: 1.875 kB / 1.059 GB, free: 172.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004479/0.748, allocations: 1.848 MB / 1.061 GB, free: 172.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * 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 (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006574/0.7487, allocations: 298.2 kB / 1.061 GB, free: 172.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003913/0.7526, allocations: 2.458 MB / 1.064 GB, free: 172.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.7526, allocations: 5.812 kB / 1.064 GB, free: 172.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.754, allocations: 1.344 MB / 1.065 GB, free: 171.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007689/0.7617, allocations: 2.653 MB / 1.068 GB, free: 171.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.7764, allocations: 9.84 MB / 1.077 GB, free: 167.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/0.7788, allocations: 1.624 MB / 1.079 GB, free: 167.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00481/0.7836, allocations: 1.36 MB / 1.08 GB, free: 167 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/0.7852, allocations: 382.8 kB / 1.081 GB, free: 167 MB / 1.01 GB Notification: Performance of SimCode: time 2.766e-06/0.7852, allocations: 0.9844 kB / 1.081 GB, free: 167 MB / 1.01 GB Notification: Performance of Templates: time 0.114/0.8992, allocations: 91.4 MB / 1.17 GB, free: 118.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.102127327118069]