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.001602/0.001602, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001137/0.001137, allocations: 165 kB / 23.82 MB, free: 0.7383 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.13/1.13, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.917/1.917, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.723e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01848/0.01851, allocations: 16.65 MB / 0.8278 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009488/0.02799, allocations: 6.084 MB / 0.8337 GB, free: 11 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.02929, allocations: 99.19 kB / 0.8338 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0009999/0.03029, allocations: 0.5349 MB / 0.8343 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.03302, allocations: 1.802 MB / 0.8361 GB, free: 8.551 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.03525, allocations: 1.478 MB / 0.8375 GB, free: 7.07 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01529/0.05054, allocations: 21.81 MB / 0.8588 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.0606, allocations: 7.361 MB / 0.866 GB, free: 9.719 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0166/0.07719, allocations: 9.824 MB / 0.8756 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008829/0.08602, allocations: 6.48 MB / 0.8819 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.08755, allocations: 0.9414 MB / 0.8829 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.09047, allocations: 1.222 MB / 0.8841 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.09216, allocations: 2.515 MB / 0.8865 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003893/0.09606, allocations: 3.376 MB / 0.8898 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.009616/0.1057, allocations: 8.055 MB / 0.8977 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1057, allocations: 0 / 0.8977 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1057, allocations: 0 / 0.8977 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001743/0.1059, allocations: 0 / 0.8977 GB, free: 9.352 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.01021/0.1161, allocations: 9.033 MB / 0.9065 GB, free: 232 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.1161, allocations: 12.02 kB / 0.9065 GB, free: 220 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/0.1188, allocations: 1.518 MB / 0.908 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007316/0.1261, allocations: 6.142 MB / 0.914 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.1264, allocations: 460.6 kB / 0.9144 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006222/0.127, allocations: 0.6136 MB / 0.915 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007692/0.1347, allocations: 6.541 MB / 0.9214 GB, free: 184 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.863e-05/0.1348, allocations: 19.83 kB / 0.9214 GB, free: 164 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.1352, allocations: 264 kB / 0.9217 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.1354, allocations: 183.9 kB / 0.9219 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004407/0.1398, allocations: 2.432 MB / 0.9242 GB, free: 13.29 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.02484/0.1646, allocations: 27.2 MB / 0.9508 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.1672, allocations: 1.878 MB / 0.9526 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/0.169, allocations: 1.512 MB / 0.9541 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/0.1695, allocations: 170.3 kB / 0.9543 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002157/0.1717, allocations: 2.203 MB / 0.9564 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001627/0.1733, allocations: 329.6 kB / 0.9567 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=317): time 1.164e-05/0.1733, allocations: 0 / 0.9567 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=317): time 0.005699/0.179, allocations: 3.395 MB / 0.9601 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.1791, allocations: 89.84 kB / 0.9601 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/0.1834, allocations: 4.207 MB / 0.9642 GB, free: 3.367 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.1836, allocations: 85.7 kB / 0.9643 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.186, allocations: 3.496 MB / 0.9677 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008422/0.1868, allocations: 1.209 MB / 0.9689 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009553/0.1878, allocations: 0.9299 MB / 0.9698 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1879, allocations: 484.8 kB / 0.9703 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.1892, allocations: 0.6779 MB / 0.971 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/0.1915, allocations: 3.031 MB / 0.9739 GB, free: 8.402 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003658/0.1952, allocations: 3.982 MB / 0.9778 GB, free: 3.453 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/0.1952, allocations: 12 kB / 0.9778 GB, free: 3.441 MB / 0.9323 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005435/0.2007, allocations: 3.885 MB / 0.9816 GB, free: 15.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.395e-05/0.2007, allocations: 61.45 kB / 0.9817 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/0.2008, allocations: 48 kB / 0.9817 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.202, allocations: 418.4 kB / 0.9821 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.2039, allocations: 0.9984 MB / 0.9831 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.2075, allocations: 5.27 MB / 0.9882 GB, free: 8.473 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.2097, allocations: 283.7 kB / 0.9885 GB, free: 8.195 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/0.2099, allocations: 216 kB / 0.9887 GB, free: 7.984 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.001517/0.2114, allocations: 466.9 kB / 0.9892 GB, free: 7.516 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006827/0.2121, allocations: 0.5906 MB / 0.9897 GB, free: 6.922 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/0.2157, allocations: 2.632 MB / 0.9923 GB, free: 4.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.2157, allocations: 36 kB / 0.9923 GB, free: 4.195 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.2157, allocations: 7.938 kB / 0.9923 GB, free: 4.188 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002686/0.2184, allocations: 2.051 MB / 0.9943 GB, free: 2.031 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.2292, allocations: 8.013 MB / 1.002 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.2292, allocations: 0 / 1.002 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.2307, allocations: 0.6399 MB / 1.003 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.2318, allocations: 349.9 kB / 1.003 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.2319, allocations: 87.89 kB / 1.003 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/0.2351, allocations: 5.179 MB / 1.008 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2351, allocations: 0 / 1.008 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/0.2397, allocations: 3.497 MB / 1.012 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/0.2412, allocations: 0.9672 MB / 1.013 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/0.2416, allocations: 71.98 kB / 1.013 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.2429, allocations: 191.7 kB / 1.013 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.2432, allocations: 210.1 kB / 1.013 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/0.2434, allocations: 139.9 kB / 1.013 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002713/0.2461, allocations: 2.166 MB / 1.015 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2461, allocations: 0 / 1.015 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004105/0.2502, allocations: 2.023 MB / 1.017 GB, free: 10.04 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.0005865/0.2508, allocations: 306.4 kB / 1.018 GB, free: 9.73 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004041/0.2548, allocations: 3.039 MB / 1.021 GB, free: 6.613 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.2548, allocations: 7.938 kB / 1.021 GB, free: 6.605 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.2564, allocations: 1.555 MB / 1.022 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005882/0.2623, allocations: 2.836 MB / 1.025 GB, free: 2.258 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.2753, allocations: 10.81 MB / 1.035 GB, free: 7.34 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.2766, allocations: 1.778 MB / 1.037 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003117/0.2797, allocations: 1.529 MB / 1.039 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000858/0.2806, allocations: 432.3 kB / 1.039 GB, free: 3.582 MB / 0.9948 GB Notification: Performance of SimCode: time 1.813e-06/0.2806, allocations: 0 / 1.039 GB, free: 3.582 MB / 0.9948 GB Notification: Performance of Templates: time 0.5233/0.8039, allocations: 99.81 MB / 1.137 GB, free: 218.1 MB / 1.01 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.126780223101377]