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.001535/0.001535, allocations: 83.59 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.001456/0.001456, allocations: 161 kB / 23.82 MB, free: 0.7461 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.029/1.029, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.911/1.911, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.643e-06/1.643e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.354e-05, allocations: 4.703 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01363/0.01366, allocations: 16.56 MB / 0.8033 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009605/0.02326, allocations: 6.077 MB / 0.8092 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.02482, allocations: 99.19 kB / 0.8093 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.02589, allocations: 0.5311 MB / 0.8098 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.0289, allocations: 1.813 MB / 0.8116 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.03128, allocations: 1.482 MB / 0.813 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01656/0.04784, allocations: 21.77 MB / 0.8343 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009373/0.05721, allocations: 7.373 MB / 0.8415 GB, free: 4.59 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01574/0.07295, allocations: 9.749 MB / 0.851 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009238/0.08219, allocations: 6.565 MB / 0.8574 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002153/0.08434, allocations: 0.9413 MB / 0.8583 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.08773, allocations: 1.218 MB / 0.8595 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.08949, allocations: 2.515 MB / 0.862 GB, free: 15.67 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00463/0.09412, allocations: 3.364 MB / 0.8653 GB, free: 12.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.1061, allocations: 8.028 MB / 0.8731 GB, free: 4.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.1061, allocations: 0 / 0.8731 GB, free: 4.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.647e-06/0.1061, allocations: 0 / 0.8731 GB, free: 4.25 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004349/0.1065, allocations: 0 / 0.8731 GB, free: 4.25 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.01076/0.1173, allocations: 9.037 MB / 0.8819 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1173, allocations: 8.031 kB / 0.8819 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.1196, allocations: 1.526 MB / 0.8834 GB, free: 9.582 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006889/0.1265, allocations: 6.129 MB / 0.8894 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.1267, allocations: 460.6 kB / 0.8898 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006119/0.1274, allocations: 0.6058 MB / 0.8904 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006981/0.1343, allocations: 6.549 MB / 0.8968 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.923e-05/0.1344, allocations: 23.83 kB / 0.8969 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003992/0.1348, allocations: 256 kB / 0.8971 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.1349, allocations: 180 kB / 0.8973 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00424/0.1392, allocations: 2.432 MB / 0.8996 GB, free: 8.195 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.02366/0.1628, allocations: 27.16 MB / 0.9262 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.1653, allocations: 1.856 MB / 0.928 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.1671, allocations: 1.531 MB / 0.9295 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/0.1676, allocations: 166.3 kB / 0.9296 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/0.1695, allocations: 2.214 MB / 0.9318 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001304/0.1708, allocations: 321.8 kB / 0.9321 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=317): time 6.052e-06/0.1708, allocations: 0 / 0.9321 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of matching and sorting (n=317): time 0.005255/0.1761, allocations: 3.396 MB / 0.9354 GB, free: 2.652 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.1761, allocations: 81.91 kB / 0.9355 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/0.18, allocations: 4.203 MB / 0.9396 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.1802, allocations: 85.7 kB / 0.9397 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.1822, allocations: 3.5 MB / 0.9431 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007145/0.183, allocations: 1.209 MB / 0.9443 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008879/0.1838, allocations: 0.9338 MB / 0.9452 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.1839, allocations: 480.8 kB / 0.9457 GB, free: 8.086 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.185, allocations: 0.6779 MB / 0.9463 GB, free: 7.395 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.1872, allocations: 3.031 MB / 0.9493 GB, free: 3.375 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/0.1907, allocations: 3.978 MB / 0.9532 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/0.1907, allocations: 12 kB / 0.9532 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.004964/0.1957, allocations: 3.89 MB / 0.957 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.1957, allocations: 53.7 kB / 0.957 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/0.1958, allocations: 48 kB / 0.9571 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.1969, allocations: 421.9 kB / 0.9575 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.1988, allocations: 1.002 MB / 0.9585 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.2021, allocations: 5.276 MB / 0.9636 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.2043, allocations: 279.6 kB / 0.9639 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.2045, allocations: 216 kB / 0.9641 GB, free: 2.941 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.001571/0.2061, allocations: 466.9 kB / 0.9645 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000654/0.2068, allocations: 0.5945 MB / 0.9651 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/0.2103, allocations: 2.632 MB / 0.9677 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.2103, allocations: 36 kB / 0.9677 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2103, allocations: 4 kB / 0.9677 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0026/0.2129, allocations: 2.054 MB / 0.9697 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.2234, allocations: 8.011 MB / 0.9775 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.2235, allocations: 0 / 0.9775 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.2249, allocations: 0.6399 MB / 0.9782 GB, free: 4.211 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009926/0.2259, allocations: 358 kB / 0.9785 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.2261, allocations: 83.89 kB / 0.9786 GB, free: 3.773 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.2292, allocations: 5.188 MB / 0.9837 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2292, allocations: 0 / 0.9837 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005055/0.2342, allocations: 3.481 MB / 0.9871 GB, free: 10.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/0.2358, allocations: 0.9711 MB / 0.988 GB, free: 9.785 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/0.2362, allocations: 67.98 kB / 0.9881 GB, free: 9.719 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.2375, allocations: 192.1 kB / 0.9883 GB, free: 9.531 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.2378, allocations: 214 kB / 0.9885 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/0.2379, allocations: 143.9 kB / 0.9886 GB, free: 9.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002478/0.2404, allocations: 2.158 MB / 0.9907 GB, free: 7.027 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2404, allocations: 4 kB / 0.9907 GB, free: 7.023 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003835/0.2443, allocations: 2.015 MB / 0.9927 GB, free: 5.004 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.0004969/0.2448, allocations: 302.5 kB / 0.993 GB, free: 4.699 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.2485, allocations: 3.038 MB / 0.9959 GB, free: 1.582 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2485, allocations: 4 kB / 0.9959 GB, free: 1.578 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.25, allocations: 1.571 MB / 0.9975 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005728/0.2558, allocations: 2.829 MB / 1 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.2682, allocations: 10.81 MB / 1.011 GB, free: 2.301 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.2694, allocations: 1.774 MB / 1.013 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003334/0.2727, allocations: 1.533 MB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000873/0.2736, allocations: 432.2 kB / 1.014 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of SimCode: time 1.793e-06/0.2736, allocations: 0 / 1.014 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of Templates: time 0.4563/0.7299, allocations: 99.8 MB / 1.112 GB, free: 259.3 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.831833220086992]