Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00138/0.00138, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001103/0.001103, allocations: 173 kB / 23.35 MB, free: 1.137 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 1.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.396/2.396, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.895e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0124/0.01243, allocations: 15.26 MB / 0.8535 GB, free: 14.83 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.02346, allocations: 5.712 MB / 0.859 GB, free: 9.105 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00408/0.02754, allocations: 91.31 kB / 0.8591 GB, free: 9.016 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.02951, allocations: 0.4922 MB / 0.8596 GB, free: 8.52 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004541/0.03405, allocations: 1.639 MB / 0.8612 GB, free: 6.871 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.03678, allocations: 1.232 MB / 0.8624 GB, free: 5.637 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01759/0.05437, allocations: 20.24 MB / 0.8822 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009068/0.06344, allocations: 6.471 MB / 0.8885 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02043/0.08387, allocations: 9.283 MB / 0.8976 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/0.09486, allocations: 5.751 MB / 0.9032 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002996/0.09786, allocations: 0.832 MB / 0.904 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006023/0.1039, allocations: 1.105 MB / 0.9051 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.004672/0.1086, allocations: 2.258 MB / 0.9073 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.009708/0.1183, allocations: 3.049 MB / 0.9103 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.1351, allocations: 7.264 MB / 0.9174 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.1351, allocations: 0 / 0.9174 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1351, allocations: 0 / 0.9174 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004546/0.1356, allocations: 0 / 0.9174 GB, free: 13.25 MB / 0.8855 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.01796/0.1535, allocations: 7.016 MB / 0.9242 GB, free: 6.176 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1536, allocations: 12.61 kB / 0.9242 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/0.1586, allocations: 1.171 MB / 0.9254 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008864/0.1675, allocations: 3.514 MB / 0.9288 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/0.1677, allocations: 419.4 kB / 0.9292 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.1689, allocations: 0.5667 MB / 0.9297 GB, free: 408 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007589/0.1765, allocations: 5.461 MB / 0.9351 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.1766, allocations: 19.86 kB / 0.9351 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006062/0.1772, allocations: 240 kB / 0.9353 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.1774, allocations: 167.9 kB / 0.9355 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/0.1809, allocations: 1.833 MB / 0.9373 GB, free: 8.168 MB / 0.9011 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.0223/0.2032, allocations: 16.38 MB / 0.9533 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.2051, allocations: 1.483 MB / 0.9547 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.2063, allocations: 1.116 MB / 0.9558 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/0.2066, allocations: 114 kB / 0.9559 GB, free: 4.668 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/0.2067, allocations: 72.67 kB / 0.956 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=267): time 5.981e-06/0.2067, allocations: 0 / 0.956 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of matching and sorting (n=267): time 0.00387/0.2106, allocations: 1.896 MB / 0.9578 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.2106, allocations: 81.52 kB / 0.9579 GB, free: 2.547 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004306/0.2149, allocations: 3.313 MB / 0.9612 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004858/0.2154, allocations: 85.7 kB / 0.9612 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.2167, allocations: 2.292 MB / 0.9635 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/0.2178, allocations: 0.976 MB / 0.9644 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008122/0.2187, allocations: 0.6645 MB / 0.9651 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2188, allocations: 305.1 kB / 0.9654 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006816/0.2195, allocations: 452.5 kB / 0.9658 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.2207, allocations: 1.697 MB / 0.9675 GB, free: 8.117 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.2231, allocations: 2.442 MB / 0.9698 GB, free: 5.082 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.515e-05/0.2231, allocations: 8 kB / 0.9699 GB, free: 5.074 MB / 0.9323 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003906/0.227, allocations: 2.289 MB / 0.9721 GB, free: 2.746 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.227, allocations: 27.94 kB / 0.9721 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/0.2271, allocations: 43.98 kB / 0.9722 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.2281, allocations: 372.6 kB / 0.9725 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.2297, allocations: 0.8151 MB / 0.9733 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.2323, allocations: 3.681 MB / 0.9769 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.2353, allocations: 373.1 kB / 0.9773 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003779/0.2356, allocations: 148 kB / 0.9774 GB, free: 13.13 MB / 0.948 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.001741/0.2374, allocations: 363.4 kB / 0.9777 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/0.2385, allocations: 351.5 kB / 0.9781 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.2413, allocations: 1.595 MB / 0.9796 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.2414, allocations: 28 kB / 0.9797 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2414, allocations: 4 kB / 0.9797 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/0.2426, allocations: 1.171 MB / 0.9808 GB, free: 9.473 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009953/0.2526, allocations: 4.735 MB / 0.9854 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.2526, allocations: 4 kB / 0.9854 GB, free: 4.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.2537, allocations: 459.9 kB / 0.9859 GB, free: 4.141 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009479/0.2546, allocations: 323.9 kB / 0.9862 GB, free: 3.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.2547, allocations: 63.97 kB / 0.9862 GB, free: 3.758 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002744/0.2575, allocations: 3.641 MB / 0.9898 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.2575, allocations: 4 kB / 0.9898 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.2611, allocations: 2.179 MB / 0.9919 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/0.2634, allocations: 0.5889 MB / 0.9925 GB, free: 13 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007658/0.2641, allocations: 59.98 kB / 0.9926 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.2656, allocations: 104 kB / 0.9927 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.2658, allocations: 181.5 kB / 0.9928 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.266, allocations: 91.89 kB / 0.9929 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002107/0.2681, allocations: 1.692 MB / 0.9946 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2681, allocations: 0 / 0.9946 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004904/0.273, allocations: 1.843 MB / 0.9964 GB, free: 9.016 MB / 0.9636 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.0007653/0.2738, allocations: 266.8 kB / 0.9966 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002961/0.2767, allocations: 1.918 MB / 0.9985 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 0.0001121/0.2768, allocations: 59.84 kB / 0.9986 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.2783, allocations: 1.01 MB / 0.9996 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007978/0.2862, allocations: 2.631 MB / 1.002 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.3018, allocations: 9.35 MB / 1.011 GB, free: 9.641 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/0.3032, allocations: 1.285 MB / 1.013 GB, free: 8.336 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003274/0.3065, allocations: 0.7828 MB / 1.013 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003563/0.3101, allocations: 1.59 MB / 1.015 GB, free: 5.938 MB / 0.9792 GB Notification: Performance of SimCode: time 1.563e-06/0.3101, allocations: 0 / 1.015 GB, free: 5.938 MB / 0.9792 GB Notification: Performance of Templates: time 0.5331/0.8431, allocations: 99.35 MB / 1.112 GB, free: 165.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.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: 7.961738422047347]