Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000954/0.000954, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001096/0.001096, allocations: 169 kB / 24.28 MB, free: 280 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 1.052/1.052, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.84/1.84, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] 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.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_12_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_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.17e-05, allocations: 4.562 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03954/0.03957, allocations: 51.15 MB / 0.8615 GB, free: 14.82 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.05535, allocations: 14.39 MB / 0.8755 GB, free: 404 kB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.05758, allocations: 99.19 kB / 0.8756 GB, free: 304 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.05948, allocations: 0.8107 MB / 0.8764 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00534/0.06482, allocations: 2.451 MB / 0.8788 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.06812, allocations: 1.411 MB / 0.8802 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01535/0.08347, allocations: 20.62 MB / 0.9003 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00854/0.09201, allocations: 6.73 MB / 0.9069 GB, free: 76 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01882/0.1108, allocations: 9.579 MB / 0.9162 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/0.1209, allocations: 5.911 MB / 0.922 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.003017/0.1239, allocations: 0.8438 MB / 0.9228 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005706/0.1296, allocations: 1.502 MB / 0.9243 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003899/0.1335, allocations: 2.289 MB / 0.9265 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.007718/0.1412, allocations: 3.064 MB / 0.9295 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.1529, allocations: 7.568 MB / 0.9369 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1529, allocations: 0 / 0.9369 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1529, allocations: 0 / 0.9369 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000327/0.1532, allocations: 4 kB / 0.9369 GB, free: 1.363 MB / 0.8855 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.01219/0.1654, allocations: 8.297 MB / 0.945 GB, free: 8.988 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1654, allocations: 8.031 kB / 0.945 GB, free: 8.98 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/0.1685, allocations: 1.397 MB / 0.9464 GB, free: 7.578 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008617/0.1772, allocations: 5.741 MB / 0.952 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.1775, allocations: 419.4 kB / 0.9524 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.1787, allocations: 0.555 MB / 0.9529 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008962/0.1876, allocations: 5.899 MB / 0.9587 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.1877, allocations: 19.83 kB / 0.9587 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004949/0.1882, allocations: 236 kB / 0.9589 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.1884, allocations: 167.9 kB / 0.9591 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005675/0.194, allocations: 2.079 MB / 0.9611 GB, free: 7.805 MB / 0.9167 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.02919/0.2232, allocations: 23.28 MB / 0.9839 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.226, allocations: 1.701 MB / 0.9855 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.2279, allocations: 1.374 MB / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/0.2283, allocations: 162 kB / 0.987 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.69e-05/0.2284, allocations: 67.5 kB / 0.9871 GB, free: 12.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 6.973e-06/0.2284, allocations: 0 / 0.9871 GB, free: 12.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.00605/0.2344, allocations: 2.884 MB / 0.9899 GB, free: 9.793 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.2345, allocations: 77.52 kB / 0.99 GB, free: 9.703 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/0.2393, allocations: 3.804 MB / 0.9937 GB, free: 5.859 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004243/0.2397, allocations: 81.7 kB / 0.9938 GB, free: 5.773 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001999/0.2417, allocations: 3.166 MB / 0.9969 GB, free: 2.582 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.2428, allocations: 1.023 MB / 0.9979 GB, free: 1.551 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007483/0.2435, allocations: 0.786 MB / 0.9986 GB, free: 0.7539 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2436, allocations: 480.8 kB / 0.9991 GB, free: 288 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.2447, allocations: 0.5031 MB / 0.9996 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.2465, allocations: 2.451 MB / 1.002 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.2496, allocations: 3.171 MB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-05/0.2497, allocations: 12 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00533/0.255, allocations: 3.17 MB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.255, allocations: 20 kB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/0.2551, allocations: 40 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.2563, allocations: 402.9 kB / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.2581, allocations: 0.8619 MB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/0.2618, allocations: 5.269 MB / 1.015 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/0.265, allocations: 473 kB / 1.015 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003165/0.2653, allocations: 184 kB / 1.015 GB, free: 13.87 MB / 0.9792 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.001791/0.2671, allocations: 407.2 kB / 1.016 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/0.2682, allocations: 0.5206 MB / 1.016 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.2717, allocations: 2.149 MB / 1.018 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.2717, allocations: 24 kB / 1.018 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.2717, allocations: 7.938 kB / 1.018 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002299/0.274, allocations: 1.732 MB / 1.02 GB, free: 8.848 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.2863, allocations: 7.136 MB / 1.027 GB, free: 1.531 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.2864, allocations: 4 kB / 1.027 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.2876, allocations: 0.4993 MB / 1.027 GB, free: 1.027 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.2887, allocations: 361.9 kB / 1.028 GB, free: 0.668 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.2889, allocations: 67.97 kB / 1.028 GB, free: 0.6016 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/0.2925, allocations: 5.23 MB / 1.033 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.2925, allocations: 7.938 kB / 1.033 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006182/0.2987, allocations: 2.998 MB / 1.036 GB, free: 7.918 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/0.3009, allocations: 0.8927 MB / 1.037 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006377/0.3015, allocations: 59.98 kB / 1.037 GB, free: 6.961 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.303, allocations: 172 kB / 1.037 GB, free: 6.793 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.3032, allocations: 181.5 kB / 1.037 GB, free: 6.617 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/0.3034, allocations: 135.9 kB / 1.037 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002837/0.3063, allocations: 1.98 MB / 1.039 GB, free: 4.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3063, allocations: 4 kB / 1.039 GB, free: 4.496 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004399/0.3107, allocations: 1.898 MB / 1.041 GB, free: 2.594 MB / 0.9948 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.0009309/0.3116, allocations: 478 kB / 1.042 GB, free: 2.117 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003755/0.3154, allocations: 2.456 MB / 1.044 GB, free: 15.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.3154, allocations: 4 kB / 1.044 GB, free: 15.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.317, allocations: 1.34 MB / 1.045 GB, free: 14.22 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008067/0.3251, allocations: 2.664 MB / 1.048 GB, free: 11.63 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.3389, allocations: 9.836 MB / 1.057 GB, free: 1.641 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3481/0.687, allocations: 1.625 MB / 1.059 GB, free: 270.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00426/0.6913, allocations: 1.367 MB / 1.06 GB, free: 270.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.6924, allocations: 381.1 kB / 1.061 GB, free: 270.5 MB / 1.01 GB Notification: Performance of SimCode: time 3.246e-06/0.6924, allocations: 0 / 1.061 GB, free: 270.5 MB / 1.01 GB Notification: Performance of Templates: time 0.1029/0.7953, allocations: 93.52 MB / 1.152 GB, free: 221.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 7.587281496962532]