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.001094/0.001094, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002554, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001049/0.001049, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002338, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9145/0.9145, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09015/1.005, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.82/1.82, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5129/2.333, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.422e-06/1.422e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.943e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01479/0.01481, allocations: 15.41 MB / 0.7444 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00861/0.02342, allocations: 5.751 MB / 0.75 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.02473, allocations: 97.47 kB / 0.7501 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007822/0.02551, allocations: 0.4961 MB / 0.7506 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.02799, allocations: 1.615 MB / 0.7522 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.0297, allocations: 1.234 MB / 0.7534 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.04171, allocations: 20.35 MB / 0.7732 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008243/0.04995, allocations: 7.069 MB / 0.7801 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01227/0.06222, allocations: 9.76 MB / 0.7897 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00495/0.06717, allocations: 5.721 MB / 0.7952 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007411/0.06791, allocations: 0.8281 MB / 0.7961 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.06956, allocations: 1.113 MB / 0.7971 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.07069, allocations: 1.741 MB / 0.7988 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002611/0.0733, allocations: 2.496 MB / 0.8013 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.005435/0.07873, allocations: 6.778 MB / 0.8079 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.617e-05/0.07875, allocations: 0 / 0.8079 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.593e-06/0.07875, allocations: 0 / 0.8079 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.123e-05/0.07882, allocations: 1.719 kB / 0.8079 GB, free: 4.066 MB / 0.7761 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.007738/0.08656, allocations: 8.657 MB / 0.8164 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.08659, allocations: 8.031 kB / 0.8164 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.08837, allocations: 1.167 MB / 0.8175 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/0.09253, allocations: 3.526 MB / 0.8209 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.09272, allocations: 415.4 kB / 0.8213 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005258/0.09324, allocations: 0.5628 MB / 0.8219 GB, free: 5.602 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004753/0.09799, allocations: 5.473 MB / 0.8272 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.939e-05/0.09807, allocations: 11.92 kB / 0.8272 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.09841, allocations: 236 kB / 0.8275 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.09852, allocations: 171.9 kB / 0.8276 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.101, allocations: 1.841 MB / 0.8294 GB, free: 13.36 MB / 0.8073 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.01513/0.1161, allocations: 16.43 MB / 0.8455 GB, free: 12.54 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.1176, allocations: 1.464 MB / 0.8469 GB, free: 11.07 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.1187, allocations: 1.127 MB / 0.848 GB, free: 9.934 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.119, allocations: 118 kB / 0.8481 GB, free: 9.816 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.119, allocations: 68.67 kB / 0.8482 GB, free: 9.738 MB / 0.823 GB Notification: Performance of pre-optimization done (n=267): time 3.566e-06/0.119, allocations: 0 / 0.8482 GB, free: 9.738 MB / 0.823 GB Notification: Performance of matching and sorting (n=267): time 0.003025/0.122, allocations: 1.885 MB / 0.85 GB, free: 7.809 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1221, allocations: 81.52 kB / 0.8501 GB, free: 7.715 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.1248, allocations: 3.329 MB / 0.8534 GB, free: 4.352 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.125, allocations: 81.7 kB / 0.8534 GB, free: 4.266 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009466/0.1259, allocations: 2.296 MB / 0.8557 GB, free: 1.945 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005535/0.1265, allocations: 0.9721 MB / 0.8566 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000815/0.1273, allocations: 0.6685 MB / 0.8573 GB, free: 296 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.1274, allocations: 301.1 kB / 0.8576 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.1279, allocations: 452.5 kB / 0.858 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.129, allocations: 1.689 MB / 0.8596 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.1308, allocations: 2.442 MB / 0.862 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.1308, allocations: 12 kB / 0.862 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.002872/0.1337, allocations: 2.293 MB / 0.8643 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.1337, allocations: 24 kB / 0.8643 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.1337, allocations: 44 kB / 0.8643 GB, free: 7.832 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009331/0.1347, allocations: 383.9 kB / 0.8647 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.1364, allocations: 0.9518 MB / 0.8656 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.1387, allocations: 3.703 MB / 0.8693 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.1404, allocations: 381.1 kB / 0.8696 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.1406, allocations: 152 kB / 0.8698 GB, free: 2.105 MB / 0.8386 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.001133/0.1417, allocations: 355.4 kB / 0.8701 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006736/0.1424, allocations: 355.5 kB / 0.8704 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.1442, allocations: 1.607 MB / 0.872 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.1442, allocations: 24 kB / 0.872 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1443, allocations: 8 kB / 0.872 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/0.1454, allocations: 1.183 MB / 0.8732 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005783/0.1511, allocations: 4.708 MB / 0.8778 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.1512, allocations: 11.97 kB / 0.8778 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.1524, allocations: 0.5539 MB / 0.8784 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009485/0.1534, allocations: 0.5811 MB / 0.8789 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008721/0.1542, allocations: 336.2 kB / 0.8792 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.1543, allocations: 71.97 kB / 0.8793 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.1565, allocations: 3.594 MB / 0.8828 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1565, allocations: 4 kB / 0.8828 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.159, allocations: 2.193 MB / 0.885 GB, free: 1.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/0.1594, allocations: 63.98 kB / 0.885 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009763/0.1604, allocations: 100.1 kB / 0.8851 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.1606, allocations: 181.5 kB / 0.8853 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.1607, allocations: 87.91 kB / 0.8854 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001462/0.1622, allocations: 1.7 MB / 0.887 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.1622, allocations: 0 / 0.887 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00311/0.1653, allocations: 1.816 MB / 0.8888 GB, free: 13.94 MB / 0.8698 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.0004227/0.1657, allocations: 263.5 kB / 0.8891 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.1678, allocations: 1.913 MB / 0.8909 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 0.0003714/0.1682, allocations: 87.48 kB / 0.891 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008744/0.1691, allocations: 1.007 MB / 0.892 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004955/0.174, allocations: 3.114 MB / 0.895 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02811/0.2022, allocations: 9.564 MB / 0.9044 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.2036, allocations: 1.294 MB / 0.9056 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002808/0.2064, allocations: 0.7864 MB / 0.9064 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003148/0.2096, allocations: 1.578 MB / 0.908 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of SimCode: time 1.693e-06/0.2096, allocations: 0 / 0.908 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of Templates: time 0.107/0.3166, allocations: 104 MB / 1.01 GB, free: 3.82 MB / 0.9792 GB " [Timeout remaining time 300] 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.ref.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: 6.907986558042467]