Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001572, allocations: 196 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7081, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05009/0.7582, allocations: 49 MB / 0.9974 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.7773, allocations: 13.82 MB / 1.011 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.7811, allocations: 63.62 kB / 1.011 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.7838, allocations: 0.6603 MB / 1.012 GB, free: 2.406 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006766/0.7906, allocations: 2.095 MB / 1.014 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.794, allocations: 1.171 MB / 1.015 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0218/0.8158, allocations: 25.63 MB / 1.04 GB, free: 5.445 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/0.8261, allocations: 8.098 MB / 1.048 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01015/0.8363, allocations: 4.996 MB / 1.053 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009673/0.846, allocations: 5.586 MB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002569/0.8486, allocations: 424 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006382/0.855, allocations: 1.112 MB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003569/0.8586, allocations: 1.619 MB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.008961/0.8676, allocations: 3.752 MB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.8796, allocations: 9.738 MB / 1.074 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.8797, allocations: 0 / 1.074 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8797, allocations: 0 / 1.074 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004567/0.8801, allocations: 0 / 1.074 GB, free: 1.918 MB / 0.8262 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.02325/0.9034, allocations: 7.714 MB / 1.082 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.9035, allocations: 12.03 kB / 1.082 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004496/0.908, allocations: 0.7813 MB / 1.083 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01387/0.9219, allocations: 6.244 MB / 1.089 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004615/0.9224, allocations: 415.4 kB / 1.089 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/0.9246, allocations: 0.5467 MB / 1.09 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.9457, allocations: 8.068 MB / 1.098 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002854/0.946, allocations: 15.84 kB / 1.098 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001813/0.9479, allocations: 243.9 kB / 1.098 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/0.9481, allocations: 160 kB / 1.098 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.9632, allocations: 6.528 MB / 1.104 GB, free: 2.809 MB / 0.8575 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.04971/1.013, allocations: 31.12 MB / 1.135 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006771/1.02, allocations: 3.648 MB / 1.138 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004753/1.025, allocations: 2.811 MB / 1.141 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/1.026, allocations: 0.828 MB / 1.142 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.456e-05/1.026, allocations: 72.67 kB / 1.142 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 8.716e-06/1.026, allocations: 3.938 kB / 1.142 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.01365/1.04, allocations: 5.759 MB / 1.148 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/1.04, allocations: 81.52 kB / 1.148 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/1.051, allocations: 5.032 MB / 1.153 GB, free: 15.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0007878/1.051, allocations: 81.64 kB / 1.153 GB, free: 15.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0033/1.055, allocations: 2.864 MB / 1.155 GB, free: 12.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001719/1.056, allocations: 0.9359 MB / 1.156 GB, free: 11.39 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002391/1.059, allocations: 0.7152 MB / 1.157 GB, free: 10.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.059, allocations: 309 kB / 1.157 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/1.062, allocations: 1.674 MB / 1.159 GB, free: 8.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004225/1.067, allocations: 2.932 MB / 1.162 GB, free: 5.195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007682/1.074, allocations: 4.97 MB / 1.167 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-05/1.074, allocations: 12 kB / 1.167 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01239/1.087, allocations: 5.434 MB / 1.172 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/1.087, allocations: 20 kB / 1.172 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.692e-05/1.087, allocations: 40 kB / 1.172 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/1.088, allocations: 423.4 kB / 1.172 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/1.092, allocations: 0.8657 MB / 1.173 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006105/1.098, allocations: 5.255 MB / 1.178 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00548/1.103, allocations: 0.6393 MB / 1.179 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008715/1.104, allocations: 184 kB / 1.179 GB, free: 2.441 MB / 0.9356 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.005357/1.11, allocations: 2.292 MB / 1.181 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002123/1.112, allocations: 486.3 kB / 1.182 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009637/1.121, allocations: 4.183 MB / 1.186 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.63e-05/1.121, allocations: 28 kB / 1.186 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.516e-05/1.122, allocations: 7.984 kB / 1.186 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007244/1.129, allocations: 3.632 MB / 1.19 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02535/1.154, allocations: 10.21 MB / 1.2 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.154, allocations: 4 kB / 1.2 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002421/1.157, allocations: 0.4992 MB / 1.2 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009494/1.158, allocations: 377 kB / 1.2 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004169/1.158, allocations: 79.95 kB / 1.2 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005666/1.164, allocations: 5.206 MB / 1.206 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/1.164, allocations: 11.92 kB / 1.206 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.176, allocations: 6.243 MB / 1.212 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003483/1.179, allocations: 1.08 MB / 1.213 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00167/1.181, allocations: 63.98 kB / 1.213 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004315/1.185, allocations: 331.1 kB / 1.213 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005416/1.186, allocations: 173.6 kB / 1.213 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005586/1.186, allocations: 131.9 kB / 1.213 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.008226/1.195, allocations: 3.683 MB / 1.217 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.61e-07/1.195, allocations: 0 / 1.217 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.007683/1.202, allocations: 1.781 MB / 1.219 GB, free: 9.152 MB / 0.9825 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.001776/1.204, allocations: 476.2 kB / 1.219 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008133/1.212, allocations: 4.254 MB / 1.223 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.212, allocations: 4 kB / 1.223 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00372/1.216, allocations: 2.043 MB / 1.225 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0179/1.234, allocations: 3.282 MB / 1.229 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/1.261, allocations: 14.94 MB / 1.243 GB, free: 76 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00622/1.268, allocations: 4.231 MB / 1.247 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/1.27, allocations: 443.2 kB / 1.248 GB, free: 11.38 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.27, allocations: 0 / 1.248 GB, free: 11.38 MB / 1.014 GB Notification: Performance of Templates: time 0.6894/1.959, allocations: 172.5 MB / 1.416 GB, free: 140.4 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches