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.00136/0.00136, allocations: 82.64 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.001477/0.001477, allocations: 181 kB / 24.08 MB, free: 424 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.023/1.023, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.83/1.83, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.643e-06/1.643e-06, allocations: 0 / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.797e-05, allocations: 4.062 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01168/0.0117, allocations: 15.26 MB / 0.8269 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007807/0.01951, allocations: 5.575 MB / 0.8323 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.02067, allocations: 91.25 kB / 0.8324 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.02152, allocations: 0.4961 MB / 0.8329 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.02393, allocations: 1.627 MB / 0.8345 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.02565, allocations: 1.248 MB / 0.8357 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01282/0.03847, allocations: 20.21 MB / 0.8555 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006803/0.04528, allocations: 6.718 MB / 0.862 GB, free: 14.05 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01549/0.06076, allocations: 9.262 MB / 0.8711 GB, free: 4.895 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007772/0.06854, allocations: 5.946 MB / 0.8769 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.06974, allocations: 0.8281 MB / 0.8777 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.07223, allocations: 1.101 MB / 0.8787 GB, free: 13 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.07374, allocations: 2.243 MB / 0.8809 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003154/0.0769, allocations: 3.041 MB / 0.8839 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.006148/0.08305, allocations: 7.249 MB / 0.891 GB, free: 448 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.08305, allocations: 3.938 kB / 0.891 GB, free: 444 kB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.08305, allocations: 0 / 0.891 GB, free: 444 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.591e-05/0.08313, allocations: 0 / 0.891 GB, free: 444 kB / 0.8386 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.007039/0.09017, allocations: 7.832 MB / 0.8986 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.0902, allocations: 8.031 kB / 0.8986 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.09211, allocations: 1.401 MB / 0.9 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/0.09682, allocations: 4.751 MB / 0.9047 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.09703, allocations: 419.4 kB / 0.9051 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/0.09757, allocations: 0.5511 MB / 0.9056 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004968/0.1025, allocations: 5.562 MB / 0.911 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.782e-05/0.1026, allocations: 19.83 kB / 0.911 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/0.1029, allocations: 232 kB / 0.9113 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.1031, allocations: 160 kB / 0.9114 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.1052, allocations: 1.685 MB / 0.9131 GB, free: 9.066 MB / 0.8698 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.01849/0.1237, allocations: 22.93 MB / 0.9355 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.1254, allocations: 1.526 MB / 0.9369 GB, free: 160 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.1266, allocations: 1.194 MB / 0.9381 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/0.1269, allocations: 149.2 kB / 0.9383 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.127, allocations: 75.5 kB / 0.9383 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=267): time 5.019e-06/0.127, allocations: 0 / 0.9383 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=267): time 0.003779/0.1307, allocations: 2.447 MB / 0.9407 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.1308, allocations: 81.5 kB / 0.9408 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/0.134, allocations: 3.716 MB / 0.9444 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.1341, allocations: 81.7 kB / 0.9445 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.1358, allocations: 3.204 MB / 0.9476 GB, free: 5.051 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000675/0.1365, allocations: 1.046 MB / 0.9486 GB, free: 3.996 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008426/0.1373, allocations: 0.7896 MB / 0.9494 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.1374, allocations: 480.8 kB / 0.9499 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.1379, allocations: 391.1 kB / 0.9503 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.1393, allocations: 2.342 MB / 0.9525 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.1415, allocations: 2.98 MB / 0.9554 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/0.1415, allocations: 12 kB / 0.9555 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003178/0.1447, allocations: 2.873 MB / 0.9583 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.1447, allocations: 24 kB / 0.9583 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.1447, allocations: 43.98 kB / 0.9583 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009998/0.1457, allocations: 386.3 kB / 0.9587 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.1472, allocations: 0.8268 MB / 0.9595 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/0.1505, allocations: 5.165 MB / 0.9645 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.1523, allocations: 373.1 kB / 0.9649 GB, free: 1.461 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.1525, allocations: 152 kB / 0.9651 GB, free: 1.312 MB / 0.9167 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.001271/0.1537, allocations: 407.3 kB / 0.9654 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/0.1543, allocations: 0.5206 MB / 0.9659 GB, free: 388 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.1567, allocations: 1.939 MB / 0.9678 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.1567, allocations: 36 kB / 0.9679 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1567, allocations: 4 kB / 0.9679 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001745/0.1585, allocations: 1.51 MB / 0.9694 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006842/0.1653, allocations: 5.562 MB / 0.9748 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.1653, allocations: 4 kB / 0.9748 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009989/0.1663, allocations: 475.9 kB / 0.9752 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009039/0.1672, allocations: 329.8 kB / 0.9756 GB, free: 6.195 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.1673, allocations: 79.95 kB / 0.9756 GB, free: 6.117 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/0.1703, allocations: 5.1 MB / 0.9806 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.1703, allocations: 7.938 kB / 0.9806 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/0.1733, allocations: 2.697 MB / 0.9833 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.1745, allocations: 0.8146 MB / 0.9841 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.1748, allocations: 63.98 kB / 0.9841 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.1758, allocations: 92.11 kB / 0.9842 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.176, allocations: 189.5 kB / 0.9844 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.1761, allocations: 111.9 kB / 0.9845 GB, free: 12.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001559/0.1777, allocations: 1.807 MB / 0.9863 GB, free: 10.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1777, allocations: 4 kB / 0.9863 GB, free: 10.81 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003173/0.1808, allocations: 1.824 MB / 0.988 GB, free: 8.98 MB / 0.948 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.0004308/0.1813, allocations: 286.5 kB / 0.9883 GB, free: 8.691 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002461/0.1837, allocations: 2.241 MB / 0.9905 GB, free: 6.395 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.1837, allocations: 4 kB / 0.9905 GB, free: 6.391 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.1847, allocations: 1.261 MB / 0.9917 GB, free: 5.082 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004962/0.1897, allocations: 2.656 MB / 0.9943 GB, free: 2.504 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.2008, allocations: 9.759 MB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.2022, allocations: 1.625 MB / 1.005 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002325/0.2045, allocations: 0.7798 MB / 1.006 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003267/0.2078, allocations: 1.871 MB / 1.008 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of SimCode: time 1.493e-06/0.2078, allocations: 0 / 1.008 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of Templates: time 0.4609/0.6687, allocations: 98.57 MB / 1.104 GB, free: 241.1 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.4439555229619145]