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.00111/0.00111, allocations: 90.83 kB / 16.02 MB, free: 80 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.001643/0.001643, allocations: 177.4 kB / 16.92 MB, free: 6.652 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.285 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.487/2.487, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 12 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7573/0.7578, allocations: 142.4 MB / 0.9557 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04523/0.803, allocations: 47.97 MB / 1.003 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.8215, allocations: 13.68 MB / 1.016 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.8244, allocations: 59.62 kB / 1.016 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.8269, allocations: 0.6486 MB / 1.017 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006725/0.8336, allocations: 2.1 MB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.8371, allocations: 1.187 MB / 1.02 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02406/0.8611, allocations: 25.62 MB / 1.045 GB, free: 3.824 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01064/0.8718, allocations: 7.832 MB / 1.052 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01033/0.8822, allocations: 4.695 MB / 1.057 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009979/0.8922, allocations: 5.215 MB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001901/0.8942, allocations: 304 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00664/0.9008, allocations: 0.9905 MB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003578/0.9045, allocations: 1.424 MB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.008721/0.9132, allocations: 3.535 MB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.9249, allocations: 9.508 MB / 1.078 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.925, allocations: 4 kB / 1.078 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.386e-06/0.925, allocations: 0 / 1.078 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004034/0.9254, allocations: 0 / 1.078 GB, free: 2.113 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.01426/0.9397, allocations: 6.221 MB / 1.084 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.9397, allocations: 12.03 kB / 1.084 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/0.9437, allocations: 0.7813 MB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.9555, allocations: 6.244 MB / 1.09 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004845/0.956, allocations: 415.4 kB / 1.091 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/0.9579, allocations: 0.5428 MB / 1.091 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.978, allocations: 8.072 MB / 1.099 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000293/0.9784, allocations: 15.92 kB / 1.099 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001597/0.98, allocations: 236 kB / 1.1 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002062/0.9802, allocations: 167.9 kB / 1.1 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.995, allocations: 6.528 MB / 1.106 GB, free: 4.496 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.04781/1.043, allocations: 31.17 MB / 1.137 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006549/1.049, allocations: 3.644 MB / 1.14 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004774/1.054, allocations: 2.823 MB / 1.143 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/1.055, allocations: 0.8474 MB / 1.144 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.13e-05/1.056, allocations: 68.67 kB / 1.144 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 5.29e-06/1.056, allocations: 4 kB / 1.144 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.01282/1.068, allocations: 5.782 MB / 1.149 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/1.068, allocations: 77.52 kB / 1.149 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.079, allocations: 5.025 MB / 1.154 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0007462/1.079, allocations: 81.7 kB / 1.154 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00297/1.082, allocations: 2.872 MB / 1.157 GB, free: 13.92 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/1.084, allocations: 0.9359 MB / 1.158 GB, free: 12.97 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008773/1.085, allocations: 309.6 kB / 1.158 GB, free: 12.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.085, allocations: 305.1 kB / 1.159 GB, free: 12.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/1.088, allocations: 1.67 MB / 1.16 GB, free: 10.69 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004171/1.093, allocations: 2.94 MB / 1.163 GB, free: 7.195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007612/1.1, allocations: 4.966 MB / 1.168 GB, free: 1.637 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.988e-05/1.1, allocations: 12 kB / 1.168 GB, free: 1.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01155/1.112, allocations: 5.433 MB / 1.173 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-05/1.112, allocations: 27.98 kB / 1.173 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-05/1.112, allocations: 40 kB / 1.173 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/1.113, allocations: 422.6 kB / 1.174 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/1.117, allocations: 0.8618 MB / 1.175 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/1.123, allocations: 5.263 MB / 1.18 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005392/1.128, allocations: 0.6471 MB / 1.18 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007637/1.129, allocations: 176 kB / 1.181 GB, free: 4.438 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.004968/1.134, allocations: 2.29 MB / 1.183 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001838/1.136, allocations: 486.2 kB / 1.183 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008929/1.145, allocations: 4.179 MB / 1.187 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.613e-05/1.145, allocations: 28 kB / 1.187 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/1.145, allocations: 7.938 kB / 1.187 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005778/1.15, allocations: 3.643 MB / 1.191 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02288/1.173, allocations: 10.2 MB / 1.201 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/1.173, allocations: 8 kB / 1.201 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/1.176, allocations: 0.5076 MB / 1.201 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009492/1.177, allocations: 370.5 kB / 1.202 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003566/1.177, allocations: 79.95 kB / 1.202 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00582/1.183, allocations: 5.203 MB / 1.207 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.183, allocations: 11.97 kB / 1.207 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.195, allocations: 6.248 MB / 1.213 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/1.198, allocations: 1.174 MB / 1.214 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/1.2, allocations: 59.98 kB / 1.214 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004482/1.204, allocations: 329.8 kB / 1.215 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004908/1.205, allocations: 177.6 kB / 1.215 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004439/1.205, allocations: 127.9 kB / 1.215 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.007735/1.213, allocations: 3.683 MB / 1.219 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.32e-07/1.213, allocations: 0 / 1.219 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.007508/1.22, allocations: 1.781 MB / 1.22 GB, free: 11.06 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.001684/1.222, allocations: 483.8 kB / 1.221 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008115/1.23, allocations: 4.262 MB / 1.225 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.23, allocations: 4 kB / 1.225 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004282/1.235, allocations: 2.036 MB / 1.227 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02305/1.258, allocations: 3.276 MB / 1.23 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02732/1.285, allocations: 15.17 MB / 1.245 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006037/1.291, allocations: 4.227 MB / 1.249 GB, free: 13.49 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/1.293, allocations: 447.2 kB / 1.249 GB, free: 13.05 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.293, allocations: 0 / 1.249 GB, free: 13.05 MB / 1.014 GB Notification: Performance of Templates: time 0.7114/2.005, allocations: 171.6 MB / 1.417 GB, free: 139.7 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