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.001364/0.001364, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001467/0.001467, allocations: 169.7 kB / 23.27 MB, free: 1.219 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 0.9237/0.9237, allocations: 177.1 MB / 203.7 MB, free: 5.465 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.314/2.314, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.593e-06/1.593e-06, allocations: 0 / 0.8897 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.565e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01125/0.01126, allocations: 15.24 MB / 0.9046 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007307/0.01857, allocations: 5.558 MB / 0.9101 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.01958, allocations: 91.25 kB / 0.9101 GB, free: 4.734 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009905/0.02058, allocations: 496.2 kB / 0.9106 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.02274, allocations: 1.635 MB / 0.9122 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.02428, allocations: 1.232 MB / 0.9134 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01371/0.03799, allocations: 20.22 MB / 0.9332 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006323/0.04432, allocations: 6.389 MB / 0.9394 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01103/0.05535, allocations: 9.283 MB / 0.9485 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007471/0.06282, allocations: 5.973 MB / 0.9543 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001575/0.06439, allocations: 0.8281 MB / 0.9551 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.06711, allocations: 1.105 MB / 0.9562 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001438/0.06855, allocations: 2.258 MB / 0.9584 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.003608/0.07215, allocations: 3.049 MB / 0.9614 GB, free: 184 kB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.006046/0.0782, allocations: 7.264 MB / 0.9685 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.07821, allocations: 0 / 0.9685 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.07821, allocations: 4 kB / 0.9685 GB, free: 8.887 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001843/0.07839, allocations: 0 / 0.9685 GB, free: 8.887 MB / 0.9323 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.008098/0.08649, allocations: 7.824 MB / 0.9761 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.08654, allocations: 8.625 kB / 0.9761 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.08857, allocations: 1.39 MB / 0.9775 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004888/0.09346, allocations: 4.751 MB / 0.9821 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.09364, allocations: 419.4 kB / 0.9825 GB, free: 10.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000512/0.09415, allocations: 0.5666 MB / 0.9831 GB, free: 9.777 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004936/0.09909, allocations: 5.547 MB / 0.9885 GB, free: 3.652 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.609e-05/0.09917, allocations: 11.88 kB / 0.9885 GB, free: 3.641 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000313/0.09948, allocations: 236 kB / 0.9887 GB, free: 3.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.09958, allocations: 167.9 kB / 0.9889 GB, free: 3.246 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.1018, allocations: 1.685 MB / 0.9905 GB, free: 1.543 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.01839/0.1202, allocations: 22.97 MB / 1.013 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.1218, allocations: 1.523 MB / 1.014 GB, free: 8.578 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.1229, allocations: 1.182 MB / 1.016 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004383/0.1234, allocations: 147.2 kB / 1.016 GB, free: 7.254 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.1234, allocations: 75.5 kB / 1.016 GB, free: 7.168 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=267): time 4.859e-06/0.1234, allocations: 4 kB / 1.016 GB, free: 7.164 MB / 0.9792 GB Notification: Performance of matching and sorting (n=267): time 0.003666/0.1271, allocations: 2.451 MB / 1.018 GB, free: 4.652 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1271, allocations: 77.52 kB / 1.018 GB, free: 4.562 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.1302, allocations: 3.711 MB / 1.022 GB, free: 0.8086 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.1303, allocations: 73.7 kB / 1.022 GB, free: 0.7305 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00186/0.1322, allocations: 3.204 MB / 1.025 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007203/0.1329, allocations: 1.046 MB / 1.026 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006877/0.1336, allocations: 0.7857 MB / 1.027 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.1337, allocations: 476.8 kB / 1.027 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/0.1342, allocations: 395.1 kB / 1.028 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.1358, allocations: 2.349 MB / 1.03 GB, free: 7.66 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.138, allocations: 2.979 MB / 1.033 GB, free: 3.883 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.138, allocations: 15.94 kB / 1.033 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003381/0.1414, allocations: 2.869 MB / 1.036 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.1414, allocations: 23.98 kB / 1.036 GB, free: 0.9219 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/0.1414, allocations: 40.91 kB / 1.036 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00096/0.1424, allocations: 393.1 kB / 1.036 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.1438, allocations: 0.8307 MB / 1.037 GB, free: 15.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.1467, allocations: 5.163 MB / 1.042 GB, free: 10.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.1484, allocations: 377.1 kB / 1.042 GB, free: 9.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003277/0.1487, allocations: 156 kB / 1.043 GB, free: 9.758 MB / 1.01 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.001225/0.1499, allocations: 407.2 kB / 1.043 GB, free: 9.348 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005423/0.1505, allocations: 0.5167 MB / 1.043 GB, free: 8.828 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.1527, allocations: 1.932 MB / 1.045 GB, free: 6.836 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.1527, allocations: 28 kB / 1.045 GB, free: 6.809 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1527, allocations: 4 kB / 1.045 GB, free: 6.805 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001477/0.1542, allocations: 1.51 MB / 1.047 GB, free: 5.18 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4103/0.5644, allocations: 5.581 MB / 1.052 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.5645, allocations: 3.438 kB / 1.052 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.5656, allocations: 473.2 kB / 1.053 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009157/0.5665, allocations: 337.7 kB / 1.053 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/0.5667, allocations: 74.69 kB / 1.053 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.5688, allocations: 5.101 MB / 1.058 GB, free: 161.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5688, allocations: 5.656 kB / 1.058 GB, free: 161.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.5724, allocations: 2.697 MB / 1.061 GB, free: 160.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/0.5738, allocations: 0.8178 MB / 1.062 GB, free: 160.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004615/0.5743, allocations: 64.45 kB / 1.062 GB, free: 160.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.5754, allocations: 101.6 kB / 1.062 GB, free: 160.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.5756, allocations: 185.6 kB / 1.062 GB, free: 160.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.5757, allocations: 107 kB / 1.062 GB, free: 160.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001564/0.5773, allocations: 1.806 MB / 1.064 GB, free: 160.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5773, allocations: 2.844 kB / 1.064 GB, free: 160.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003235/0.5805, allocations: 1.838 MB / 1.066 GB, free: 160.1 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.0004378/0.581, allocations: 284.8 kB / 1.066 GB, free: 160 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002075/0.5831, allocations: 2.241 MB / 1.068 GB, free: 159.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5831, allocations: 2.562 kB / 1.068 GB, free: 159.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008804/0.5839, allocations: 1.262 MB / 1.069 GB, free: 159.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/0.589, allocations: 2.658 MB / 1.072 GB, free: 158.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00988/0.5989, allocations: 9.768 MB / 1.081 GB, free: 154.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.6001, allocations: 1.624 MB / 1.083 GB, free: 154.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00204/0.6022, allocations: 0.7789 MB / 1.084 GB, free: 154.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003425/0.6056, allocations: 1.865 MB / 1.086 GB, free: 154.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.583e-06/0.6056, allocations: 0 / 1.086 GB, free: 154.3 MB / 1.01 GB Notification: Performance of Templates: time 0.09992/0.7055, allocations: 99.12 MB / 1.182 GB, free: 97.52 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: 7.560145877767354]