Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.001049/0.001049, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001105/0.001105, allocations: 161 kB / 23.82 MB, free: 0.75 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.9896/0.9896, allocations: 177.2 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.868/1.868, allocations: 377.9 MB / 0.6236 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y|tan.vol.[0-9,]+..T",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y|tan.vol.[0-9,]+..T",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.66e-05, allocations: 6.812 kB / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01338/0.0134, allocations: 16.65 MB / 0.8278 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009037/0.02244, allocations: 6.089 MB / 0.8337 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.02365, allocations: 99.19 kB / 0.8338 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.02484, allocations: 0.5272 MB / 0.8343 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.02768, allocations: 1.821 MB / 0.8361 GB, free: 8.484 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.02981, allocations: 1.478 MB / 0.8376 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01438/0.04419, allocations: 21.8 MB / 0.8589 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009194/0.05338, allocations: 7.357 MB / 0.866 GB, free: 9.656 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01487/0.06825, allocations: 10.15 MB / 0.8759 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008249/0.0765, allocations: 6.456 MB / 0.8823 GB, free: 9.145 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001801/0.0783, allocations: 0.9219 MB / 0.8832 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.08092, allocations: 1.191 MB / 0.8843 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001585/0.08251, allocations: 2.488 MB / 0.8867 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.004262/0.08677, allocations: 3.329 MB / 0.89 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.007477/0.09425, allocations: 7.973 MB / 0.8978 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.09425, allocations: 4 kB / 0.8978 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.663e-06/0.09425, allocations: 0 / 0.8978 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002627/0.09452, allocations: 0 / 0.8978 GB, free: 9.199 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01016/0.1047, allocations: 8.94 MB / 0.9065 GB, free: 172 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1047, allocations: 8.031 kB / 0.9065 GB, free: 164 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.1071, allocations: 1.51 MB / 0.908 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005689/0.1128, allocations: 5.445 MB / 0.9133 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.113, allocations: 460.6 kB / 0.9138 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006053/0.1136, allocations: 0.6174 MB / 0.9144 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007575/0.1212, allocations: 6.537 MB / 0.9207 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.33e-05/0.1213, allocations: 15.88 kB / 0.9208 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/0.1216, allocations: 264 kB / 0.921 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.1218, allocations: 187.9 kB / 0.9212 GB, free: 380 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005372/0.1271, allocations: 2.428 MB / 0.9236 GB, free: 13.94 MB / 0.8855 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.02319/0.1503, allocations: 27.13 MB / 0.9501 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.1527, allocations: 1.868 MB / 0.9519 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.1545, allocations: 1.476 MB / 0.9533 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004341/0.1549, allocations: 162.3 kB / 0.9535 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/0.1569, allocations: 2.215 MB / 0.9556 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001266/0.1582, allocations: 321.7 kB / 0.9559 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=317): time 8.586e-06/0.1582, allocations: 0 / 0.9559 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=317): time 0.005149/0.1634, allocations: 3.396 MB / 0.9593 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.1634, allocations: 93.84 kB / 0.9594 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/0.1673, allocations: 4.187 MB / 0.9634 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.1675, allocations: 89.7 kB / 0.9635 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002099/0.1696, allocations: 3.5 MB / 0.9669 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008813/0.1704, allocations: 1.217 MB / 0.9681 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009239/0.1714, allocations: 0.9338 MB / 0.969 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1715, allocations: 476.8 kB / 0.9695 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.1727, allocations: 0.674 MB / 0.9702 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.175, allocations: 3.035 MB / 0.9731 GB, free: 9.18 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/0.1789, allocations: 3.974 MB / 0.977 GB, free: 4.238 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.941e-05/0.179, allocations: 12 kB / 0.977 GB, free: 4.227 MB / 0.9323 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005207/0.1842, allocations: 3.893 MB / 0.9808 GB, free: 284 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.1842, allocations: 57.7 kB / 0.9809 GB, free: 220 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/0.1843, allocations: 48 kB / 0.9809 GB, free: 172 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.1854, allocations: 418.5 kB / 0.9813 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.1874, allocations: 0.9945 MB / 0.9823 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/0.1907, allocations: 5.282 MB / 0.9874 GB, free: 9.238 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.193, allocations: 279.7 kB / 0.9877 GB, free: 8.965 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.1932, allocations: 220 kB / 0.9879 GB, free: 8.75 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.001442/0.1947, allocations: 462.9 kB / 0.9884 GB, free: 8.285 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006243/0.1953, allocations: 0.579 MB / 0.9889 GB, free: 7.703 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/0.1986, allocations: 2.64 MB / 0.9915 GB, free: 5.004 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.1987, allocations: 32 kB / 0.9915 GB, free: 4.973 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1987, allocations: 4 kB / 0.9915 GB, free: 4.969 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002426/0.2011, allocations: 2.057 MB / 0.9936 GB, free: 2.809 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009526/0.2106, allocations: 7.988 MB / 1.001 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/0.2106, allocations: 0 / 1.001 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.2121, allocations: 0.6281 MB / 1.002 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009614/0.213, allocations: 351.6 kB / 1.002 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.2132, allocations: 87.89 kB / 1.002 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.2161, allocations: 5.195 MB / 1.007 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2161, allocations: 0 / 1.007 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004542/0.2206, allocations: 3.481 MB / 1.011 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/0.2221, allocations: 0.9672 MB / 1.012 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/0.2225, allocations: 63.98 kB / 1.012 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.2237, allocations: 188 kB / 1.012 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/0.224, allocations: 206.1 kB / 1.012 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.2242, allocations: 143.9 kB / 1.012 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002446/0.2266, allocations: 2.15 MB / 1.014 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2266, allocations: 4 kB / 1.014 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003719/0.2304, allocations: 2.011 MB / 1.016 GB, free: 10.89 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.0005171/0.2309, allocations: 298.4 kB / 1.017 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003674/0.2346, allocations: 3.035 MB / 1.02 GB, free: 7.473 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.2346, allocations: 7.938 kB / 1.02 GB, free: 7.465 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.2361, allocations: 1.555 MB / 1.021 GB, free: 5.867 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005689/0.2418, allocations: 2.828 MB / 1.024 GB, free: 3.129 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.2542, allocations: 10.78 MB / 1.035 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.2555, allocations: 1.774 MB / 1.036 GB, free: 6.434 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003323/0.2588, allocations: 1.541 MB / 1.038 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000859/0.2597, allocations: 432.3 kB / 1.038 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of SimCode: time 2.255e-06/0.2597, allocations: 0 / 1.038 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of Templates: time 0.7238/0.9835, allocations: 105.4 MB / 1.141 GB, free: 213.3 MB / 1.011 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.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: 8.237899059895426]