Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001082/0.001082, 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.001415/0.001415, 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.9445/0.9445, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.779/1.779, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.411e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01491/0.01495, allocations: 16.57 MB / 0.8033 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.02531, allocations: 6.069 MB / 0.8092 GB, free: 5.84 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.02661, allocations: 99.19 kB / 0.8093 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009322/0.02755, allocations: 0.5388 MB / 0.8098 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.03003, allocations: 1.821 MB / 0.8116 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.03214, allocations: 1.482 MB / 0.813 GB, free: 1.883 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01386/0.046, allocations: 21.77 MB / 0.8343 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008378/0.05438, allocations: 7.369 MB / 0.8415 GB, free: 4.574 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/0.06821, allocations: 10.08 MB / 0.8513 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008616/0.07683, allocations: 6.534 MB / 0.8577 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.07873, allocations: 0.9258 MB / 0.8586 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.08184, allocations: 1.179 MB / 0.8598 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001625/0.08347, allocations: 2.488 MB / 0.8622 GB, free: 15.45 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003787/0.08726, allocations: 3.325 MB / 0.8654 GB, free: 12.12 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006805/0.09406, allocations: 7.95 MB / 0.8732 GB, free: 4.145 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.09407, allocations: 0 / 0.8732 GB, free: 4.145 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.794e-06/0.09407, allocations: 0 / 0.8732 GB, free: 4.145 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001048/0.09417, allocations: 0 / 0.8732 GB, free: 4.145 MB / 0.823 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.008499/0.1027, allocations: 8.928 MB / 0.8819 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1027, allocations: 16.03 kB / 0.8819 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.105, allocations: 1.514 MB / 0.8834 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005309/0.1103, allocations: 5.429 MB / 0.8887 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.1105, allocations: 464.6 kB / 0.8892 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006372/0.1111, allocations: 0.6136 MB / 0.8898 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00683/0.1179, allocations: 6.541 MB / 0.8962 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.824e-05/0.118, allocations: 27.77 kB / 0.8962 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003876/0.1184, allocations: 260 kB / 0.8964 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.1185, allocations: 176 kB / 0.8966 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003978/0.1225, allocations: 2.432 MB / 0.899 GB, free: 8.895 MB / 0.8542 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.02304/0.1456, allocations: 27.09 MB / 0.9254 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.1478, allocations: 1.85 MB / 0.9272 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.1495, allocations: 1.484 MB / 0.9287 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004198/0.1499, allocations: 174.3 kB / 0.9289 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001894/0.1518, allocations: 2.207 MB / 0.931 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001226/0.153, allocations: 329.7 kB / 0.9313 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=317): time 8.536e-06/0.153, allocations: 0 / 0.9313 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of matching and sorting (n=317): time 0.0052/0.1582, allocations: 3.399 MB / 0.9346 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.1583, allocations: 85.91 kB / 0.9347 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/0.1622, allocations: 4.191 MB / 0.9388 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.1624, allocations: 85.7 kB / 0.9389 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002077/0.1645, allocations: 3.5 MB / 0.9423 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007979/0.1653, allocations: 1.213 MB / 0.9435 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008713/0.1661, allocations: 0.9338 MB / 0.9444 GB, free: 9.367 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.1662, allocations: 480.8 kB / 0.9449 GB, free: 8.895 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.1674, allocations: 0.674 MB / 0.9455 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.1695, allocations: 3.035 MB / 0.9485 GB, free: 4.184 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.1731, allocations: 3.971 MB / 0.9524 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/0.1732, allocations: 12 kB / 0.9524 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005009/0.1782, allocations: 3.897 MB / 0.9562 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.1782, allocations: 53.7 kB / 0.9562 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.983e-05/0.1783, allocations: 48 kB / 0.9563 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.1794, allocations: 414.2 kB / 0.9567 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.1813, allocations: 0.9984 MB / 0.9577 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.1846, allocations: 5.272 MB / 0.9628 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.1869, allocations: 287.6 kB / 0.9631 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/0.1872, allocations: 220 kB / 0.9633 GB, free: 3.758 MB / 0.9167 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.001438/0.1886, allocations: 458.9 kB / 0.9637 GB, free: 3.297 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006533/0.1893, allocations: 0.5868 MB / 0.9643 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.1928, allocations: 2.64 MB / 0.9669 GB, free: 8 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/0.1928, allocations: 32.05 kB / 0.9669 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1928, allocations: 4 kB / 0.9669 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002509/0.1953, allocations: 2.055 MB / 0.9689 GB, free: 13.81 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.2055, allocations: 7.977 MB / 0.9767 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.2055, allocations: 0 / 0.9767 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/0.207, allocations: 0.6321 MB / 0.9773 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009895/0.208, allocations: 349.5 kB / 0.9777 GB, free: 4.73 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/0.2081, allocations: 91.89 kB / 0.9777 GB, free: 4.641 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/0.2113, allocations: 5.196 MB / 0.9828 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2113, allocations: 0 / 0.9828 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/0.2162, allocations: 3.489 MB / 0.9862 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.2176, allocations: 0.9593 MB / 0.9872 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/0.218, allocations: 63.98 kB / 0.9872 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.2193, allocations: 192 kB / 0.9874 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/0.2196, allocations: 214 kB / 0.9876 GB, free: 10.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/0.2198, allocations: 147.9 kB / 0.9878 GB, free: 10.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002467/0.2223, allocations: 2.154 MB / 0.9899 GB, free: 7.895 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.2223, allocations: 0 / 0.9899 GB, free: 7.895 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003965/0.2262, allocations: 2 MB / 0.9918 GB, free: 5.891 MB / 0.948 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.0005343/0.2268, allocations: 290.5 kB / 0.9921 GB, free: 5.598 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003804/0.2306, allocations: 3.039 MB / 0.9951 GB, free: 2.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.2306, allocations: 1 kB / 0.9951 GB, free: 2.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.2321, allocations: 1.562 MB / 0.9966 GB, free: 0.875 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005732/0.2378, allocations: 2.838 MB / 0.9994 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/0.2511, allocations: 10.77 MB / 1.01 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.2523, allocations: 1.778 MB / 1.012 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004043/0.2564, allocations: 1.533 MB / 1.013 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.2574, allocations: 428.3 kB / 1.014 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of SimCode: time 2.524e-06/0.2574, allocations: 0 / 1.014 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of Templates: time 0.4601/0.7175, allocations: 105.4 MB / 1.116 GB, free: 256.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 7.619790107943118]