Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009497/0.0009497, allocations: 80.94 kB / 19.94 MB, free: 4.543 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: 177.4 kB / 23.36 MB, free: 1.129 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.05/1.05, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.326/2.326, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.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_latest_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_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.996e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0184/0.01843, allocations: 16.41 MB / 0.8546 GB, free: 13.77 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.03277, allocations: 6.198 MB / 0.8606 GB, free: 7.555 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.03569, allocations: 107.2 kB / 0.8608 GB, free: 7.449 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.0372, allocations: 0.5271 MB / 0.8613 GB, free: 6.918 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004766/0.04197, allocations: 1.81 MB / 0.863 GB, free: 5.098 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.04463, allocations: 1.47 MB / 0.8645 GB, free: 3.625 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01551/0.06014, allocations: 21.86 MB / 0.8858 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009741/0.06988, allocations: 7.109 MB / 0.8928 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0192/0.08908, allocations: 10.16 MB / 0.9027 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00977/0.09885, allocations: 6.25 MB / 0.9088 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002238/0.1011, allocations: 0.9258 MB / 0.9097 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.1044, allocations: 1.199 MB / 0.9109 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.1064, allocations: 2.492 MB / 0.9133 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.005349/0.1118, allocations: 3.345 MB / 0.9166 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.007528/0.1193, allocations: 7.997 MB / 0.9244 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1193, allocations: 0 / 0.9244 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.986e-06/0.1193, allocations: 4 kB / 0.9244 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001238/0.1194, allocations: 0 / 0.9244 GB, free: 6.148 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.007561/0.127, allocations: 7.726 MB / 0.9319 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.127, allocations: 12.62 kB / 0.9319 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/0.1303, allocations: 1.264 MB / 0.9332 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008729/0.139, allocations: 3.795 MB / 0.9369 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.1393, allocations: 456.6 kB / 0.9373 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.1407, allocations: 0.6135 MB / 0.9379 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.1535, allocations: 6.046 MB / 0.9438 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/0.1537, allocations: 19.83 kB / 0.9438 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/0.1549, allocations: 268 kB / 0.9441 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.1551, allocations: 172 kB / 0.9442 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005195/0.1603, allocations: 2.103 MB / 0.9463 GB, free: 14.91 MB / 0.9167 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.02856/0.1888, allocations: 19.03 MB / 0.9649 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.1909, allocations: 1.592 MB / 0.9664 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.1923, allocations: 1.219 MB / 0.9676 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/0.1927, allocations: 170.3 kB / 0.9678 GB, free: 8.422 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001863/0.1946, allocations: 2.09 MB / 0.9698 GB, free: 6.035 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002266/0.1969, allocations: 317.7 kB / 0.9701 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=317): time 1.19e-05/0.1969, allocations: 0 / 0.9701 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.004645/0.2015, allocations: 2.199 MB / 0.9723 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.2016, allocations: 89.91 kB / 0.9724 GB, free: 3.387 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004549/0.2061, allocations: 3.674 MB / 0.976 GB, free: 15.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006288/0.2068, allocations: 85.7 kB / 0.976 GB, free: 15.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001967/0.2087, allocations: 2.535 MB / 0.9785 GB, free: 13.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001344/0.2101, allocations: 1.15 MB / 0.9796 GB, free: 11.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/0.2113, allocations: 0.7995 MB / 0.9804 GB, free: 11.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.2114, allocations: 305.1 kB / 0.9807 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.2125, allocations: 0.5865 MB / 0.9813 GB, free: 10.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.2145, allocations: 2.089 MB / 0.9833 GB, free: 7.352 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.2173, allocations: 3.038 MB / 0.9863 GB, free: 3.598 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.36e-05/0.2173, allocations: 12 kB / 0.9863 GB, free: 3.586 MB / 0.948 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003995/0.2213, allocations: 2.823 MB / 0.9891 GB, free: 0.7188 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.2214, allocations: 59.73 kB / 0.9891 GB, free: 0.6562 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.509e-05/0.2214, allocations: 48 kB / 0.9892 GB, free: 0.6094 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009737/0.2224, allocations: 375.9 kB / 0.9895 GB, free: 244 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.2242, allocations: 0.9398 MB / 0.9904 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.2269, allocations: 3.669 MB / 0.994 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.2294, allocations: 183.9 kB / 0.9942 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.2297, allocations: 176 kB / 0.9944 GB, free: 11.11 MB / 0.9636 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.001631/0.2313, allocations: 411 kB / 0.9948 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/0.2318, allocations: 395.5 kB / 0.9951 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.2343, allocations: 1.955 MB / 0.997 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.2343, allocations: 32 kB / 0.9971 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2343, allocations: 4 kB / 0.9971 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001461/0.2358, allocations: 1.366 MB / 0.9984 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007459/0.2432, allocations: 5.259 MB / 1.004 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.2432, allocations: 0 / 1.004 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.2445, allocations: 0.5656 MB / 1.004 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008568/0.2454, allocations: 320.2 kB / 1.004 GB, free: 0.5781 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/0.2456, allocations: 71.95 kB / 1.004 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.2478, allocations: 3.596 MB / 1.008 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2478, allocations: 4 kB / 1.008 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.2507, allocations: 2.462 MB / 1.01 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.2519, allocations: 0.6127 MB / 1.011 GB, free: 9.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003816/0.2523, allocations: 67.98 kB / 1.011 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.2534, allocations: 112 kB / 1.011 GB, free: 9.395 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/0.2537, allocations: 202.1 kB / 1.011 GB, free: 9.195 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.2538, allocations: 103.8 kB / 1.011 GB, free: 9.094 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001629/0.2554, allocations: 1.854 MB / 1.013 GB, free: 7.238 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2554, allocations: 4 kB / 1.013 GB, free: 7.234 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004095/0.2595, allocations: 2.042 MB / 1.015 GB, free: 5.188 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.0006592/0.2602, allocations: 271.6 kB / 1.016 GB, free: 4.914 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003001/0.2632, allocations: 2.367 MB / 1.018 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.034e-05/0.2633, allocations: 59.84 kB / 1.018 GB, free: 2.418 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.2644, allocations: 1.166 MB / 1.019 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00562/0.27, allocations: 3.079 MB / 1.022 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.2813, allocations: 10.02 MB / 1.032 GB, free: 4.086 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.2824, allocations: 1.415 MB / 1.033 GB, free: 2.648 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002375/0.2848, allocations: 0.8741 MB / 1.034 GB, free: 1.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003901/0.2887, allocations: 1.719 MB / 1.036 GB, free: 20 kB / 0.9948 GB Notification: Performance of SimCode: time 1.423e-06/0.2887, allocations: 0 / 1.036 GB, free: 20 kB / 0.9948 GB Notification: Performance of Templates: time 0.5131/0.8018, allocations: 109.3 MB / 1.142 GB, free: 131.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.223528956994414]