Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 186.9 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.809/2.809, allocations: 443.5 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,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_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.88 kB / 1.061 GB, free: 3 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 160.8 MB / 1.218 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06052/1.147, allocations: 50.15 MB / 1.267 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02321/1.171, allocations: 13.95 MB / 1.281 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/1.174, allocations: 95.25 kB / 1.281 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00318/1.178, allocations: 0.8265 MB / 1.282 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009288/1.187, allocations: 2.394 MB / 1.284 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004626/1.192, allocations: 1.378 MB / 1.286 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02374/1.215, allocations: 20.18 MB / 1.305 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01219/1.227, allocations: 6.447 MB / 1.312 GB, free: 7.465 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01748/1.245, allocations: 6.673 MB / 1.318 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/1.258, allocations: 6.051 MB / 1.324 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.003487/1.261, allocations: 0.8438 MB / 1.325 GB, free: 9.895 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008807/1.27, allocations: 1.639 MB / 1.326 GB, free: 8.254 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.005342/1.275, allocations: 2.204 MB / 1.329 GB, free: 6.043 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.01283/1.288, allocations: 4.291 MB / 1.333 GB, free: 1.734 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02139/1.31, allocations: 12.1 MB / 1.345 GB, free: 5.602 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/1.31, allocations: 0 / 1.345 GB, free: 5.602 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.695e-06/1.31, allocations: 3.938 kB / 1.345 GB, free: 5.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004695/1.31, allocations: 0 / 1.345 GB, free: 5.598 MB / 1.045 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.02556/1.336, allocations: 7.919 MB / 1.352 GB, free: 13.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.336, allocations: 8.031 kB / 1.352 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005322/1.341, allocations: 0.8243 MB / 1.353 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/1.359, allocations: 6.367 MB / 1.359 GB, free: 6.332 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00052/1.36, allocations: 419.4 kB / 1.36 GB, free: 5.922 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/1.362, allocations: 0.539 MB / 1.36 GB, free: 5.383 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/1.385, allocations: 8.073 MB / 1.368 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003054/1.385, allocations: 19.83 kB / 1.368 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002144/1.388, allocations: 236 kB / 1.368 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/1.388, allocations: 175.8 kB / 1.369 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01951/1.407, allocations: 6.524 MB / 1.375 GB, free: 6.113 MB / 1.076 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.0672/1.474, allocations: 31.27 MB / 1.406 GB, free: 5.012 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008118/1.483, allocations: 3.431 MB / 1.409 GB, free: 1.582 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005703/1.488, allocations: 2.581 MB / 1.411 GB, free: 14.99 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/1.49, allocations: 0.828 MB / 1.412 GB, free: 13.99 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/1.49, allocations: 76.45 kB / 1.412 GB, free: 13.91 MB / 1.123 GB Notification: Performance of pre-optimization done (n=267): time 4.709e-06/1.49, allocations: 4 kB / 1.412 GB, free: 13.9 MB / 1.123 GB Notification: Performance of matching and sorting (n=267): time 0.01787/1.508, allocations: 5.765 MB / 1.418 GB, free: 8.039 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/1.508, allocations: 77.52 kB / 1.418 GB, free: 7.949 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01341/1.521, allocations: 5.251 MB / 1.423 GB, free: 2.699 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0008599/1.522, allocations: 81.7 kB / 1.423 GB, free: 2.613 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.004095/1.526, allocations: 2.938 MB / 1.426 GB, free: 15.65 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001915/1.528, allocations: 0.9839 MB / 1.427 GB, free: 14.66 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002368/1.53, allocations: 0.7118 MB / 1.428 GB, free: 13.94 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.531, allocations: 304.9 kB / 1.428 GB, free: 13.64 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003441/1.534, allocations: 1.674 MB / 1.43 GB, free: 11.96 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/1.539, allocations: 2.94 MB / 1.433 GB, free: 8.473 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008237/1.547, allocations: 4.966 MB / 1.437 GB, free: 2.914 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.739e-05/1.547, allocations: 15.94 kB / 1.437 GB, free: 2.898 MB / 1.139 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01146/1.558, allocations: 5.44 MB / 1.443 GB, free: 13.41 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/1.559, allocations: 20.19 kB / 1.443 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.305e-05/1.559, allocations: 44 kB / 1.443 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.56, allocations: 432.6 kB / 1.443 GB, free: 12.92 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/1.563, allocations: 0.8541 MB / 1.444 GB, free: 12.06 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007107/1.57, allocations: 5.71 MB / 1.45 GB, free: 6.078 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007335/1.578, allocations: 0.5275 MB / 1.45 GB, free: 5.547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.579, allocations: 176 kB / 1.45 GB, free: 5.375 MB / 1.154 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.009076/1.588, allocations: 2.292 MB / 1.453 GB, free: 3.07 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003304/1.592, allocations: 0.5007 MB / 1.453 GB, free: 2.566 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.603, allocations: 4.166 MB / 1.457 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.966e-05/1.603, allocations: 28 kB / 1.457 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.927e-05/1.603, allocations: 4 kB / 1.457 GB, free: 14.31 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006984/1.61, allocations: 3.631 MB / 1.461 GB, free: 10.57 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02672/1.637, allocations: 10.27 MB / 1.471 GB, free: 124 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/1.637, allocations: 4 kB / 1.471 GB, free: 120 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/1.639, allocations: 0.4998 MB / 1.471 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/1.64, allocations: 365.4 kB / 1.472 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004256/1.641, allocations: 79.95 kB / 1.472 GB, free: 15.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007373/1.648, allocations: 5.645 MB / 1.477 GB, free: 9.254 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/1.648, allocations: 11.94 kB / 1.477 GB, free: 9.242 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/1.664, allocations: 6.261 MB / 1.483 GB, free: 2.812 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005396/1.67, allocations: 1.13 MB / 1.484 GB, free: 1.66 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002031/1.672, allocations: 63.98 kB / 1.484 GB, free: 1.598 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005004/1.677, allocations: 175.6 kB / 1.485 GB, free: 1.426 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007403/1.677, allocations: 181.5 kB / 1.485 GB, free: 1.246 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000736/1.678, allocations: 127.9 kB / 1.485 GB, free: 1.121 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.01216/1.69, allocations: 3.851 MB / 1.489 GB, free: 13.28 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/1.69, allocations: 96 / 1.489 GB, free: 13.28 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01152/1.702, allocations: 1.809 MB / 1.49 GB, free: 11.47 MB / 1.201 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.00228/1.704, allocations: 495.5 kB / 1.491 GB, free: 10.99 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009759/1.714, allocations: 4.139 MB / 1.495 GB, free: 6.812 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-05/1.714, allocations: 6 kB / 1.495 GB, free: 6.809 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004303/1.718, allocations: 1.922 MB / 1.497 GB, free: 4.855 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0204/1.738, allocations: 3.446 MB / 1.5 GB, free: 1.5 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/1.77, allocations: 12.75 MB / 1.513 GB, free: 4.648 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006237/1.777, allocations: 4.299 MB / 1.517 GB, free: 328 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.006747/1.783, allocations: 1.867 MB / 1.519 GB, free: 14.46 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/1.785, allocations: 411.2 kB / 1.519 GB, free: 14.06 MB / 1.232 GB Notification: Performance of SimCode: time 1.312e-06/1.785, allocations: 0 / 1.519 GB, free: 14.06 MB / 1.232 GB Notification: Performance of Templates: time 1.062/2.847, allocations: 116.7 MB / 1.633 GB, free: 357.2 MB / 1.311 GB " [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.28916077222675]