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.001351/0.001351, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001068/0.001068, allocations: 169 kB / 23.02 MB, free: 1.547 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.8966/0.8966, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.055/2.055, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 1.623e-06/1.623e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.284e-05, allocations: 6.219 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01434/0.01436, allocations: 16.65 MB / 0.8944 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00945/0.02382, allocations: 6.057 MB / 0.9003 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.02603, allocations: 103.2 kB / 0.9004 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.02742, allocations: 0.531 MB / 0.9009 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.03194, allocations: 1.813 MB / 0.9027 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.03494, allocations: 1.474 MB / 0.9042 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01876/0.0537, allocations: 21.84 MB / 0.9255 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009599/0.0633, allocations: 7.015 MB / 0.9323 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02048/0.08378, allocations: 10.17 MB / 0.9423 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01041/0.0942, allocations: 6.484 MB / 0.9486 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.003355/0.09755, allocations: 0.9219 MB / 0.9495 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005883/0.1034, allocations: 1.199 MB / 0.9507 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.004281/0.1077, allocations: 2.488 MB / 0.9531 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.008509/0.1162, allocations: 3.357 MB / 0.9564 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.012/0.1282, allocations: 7.985 MB / 0.9642 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1282, allocations: 0 / 0.9642 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1282, allocations: 0 / 0.9642 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004419/0.1287, allocations: 0 / 0.9642 GB, free: 14.05 MB / 0.9323 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.01411/0.1428, allocations: 8.94 MB / 0.9729 GB, free: 5.016 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1428, allocations: 8.031 kB / 0.9729 GB, free: 5.008 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.1457, allocations: 1.514 MB / 0.9744 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008378/0.1541, allocations: 5.445 MB / 0.9797 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.1544, allocations: 456.6 kB / 0.9801 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/0.1555, allocations: 0.6175 MB / 0.9807 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00989/0.1654, allocations: 6.533 MB / 0.9871 GB, free: 5.676 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/0.1655, allocations: 23.83 kB / 0.9871 GB, free: 5.652 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005057/0.1661, allocations: 260 kB / 0.9874 GB, free: 5.398 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.1662, allocations: 187.9 kB / 0.9876 GB, free: 5.215 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005893/0.1721, allocations: 2.428 MB / 0.9899 GB, free: 2.781 MB / 0.948 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.03032/0.2024, allocations: 27.18 MB / 1.016 GB, free: 7.047 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.2051, allocations: 1.852 MB / 1.018 GB, free: 5.199 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.2069, allocations: 1.484 MB / 1.02 GB, free: 3.711 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004351/0.2074, allocations: 166.3 kB / 1.02 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002032/0.2094, allocations: 2.211 MB / 1.022 GB, free: 1.039 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001688/0.2111, allocations: 329.7 kB / 1.022 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=317): time 1.038e-05/0.2111, allocations: 0 / 1.022 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of matching and sorting (n=317): time 0.005891/0.217, allocations: 3.388 MB / 1.026 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.217, allocations: 89.89 kB / 1.026 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00498/0.222, allocations: 4.179 MB / 1.03 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004876/0.2225, allocations: 89.7 kB / 1.03 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002567/0.2251, allocations: 3.5 MB / 1.033 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/0.2263, allocations: 1.213 MB / 1.035 GB, free: 4.141 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009204/0.2272, allocations: 0.9299 MB / 1.035 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2273, allocations: 476.8 kB / 1.036 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.2285, allocations: 0.6779 MB / 1.037 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.2307, allocations: 3.031 MB / 1.04 GB, free: 14.02 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003765/0.2345, allocations: 3.971 MB / 1.043 GB, free: 9.078 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.684e-05/0.2345, allocations: 16 kB / 1.043 GB, free: 9.062 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005787/0.2403, allocations: 3.893 MB / 1.047 GB, free: 5.113 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/0.2404, allocations: 53.7 kB / 1.047 GB, free: 5.055 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.661e-05/0.2405, allocations: 52 kB / 1.047 GB, free: 5.004 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.2418, allocations: 413.8 kB / 1.048 GB, free: 4.594 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.2439, allocations: 0.9984 MB / 1.049 GB, free: 3.594 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4701/0.714, allocations: 5.282 MB / 1.054 GB, free: 171.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/0.7176, allocations: 291.7 kB / 1.054 GB, free: 171.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005103/0.7181, allocations: 218.3 kB / 1.054 GB, free: 171.5 MB / 1.01 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.001843/0.7199, allocations: 457.8 kB / 1.055 GB, free: 171.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/0.7211, allocations: 0.5816 MB / 1.055 GB, free: 171.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/0.7248, allocations: 2.646 MB / 1.058 GB, free: 171.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/0.7248, allocations: 34.58 kB / 1.058 GB, free: 171.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.7248, allocations: 4.969 kB / 1.058 GB, free: 171.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002382/0.7272, allocations: 2.051 MB / 1.06 GB, free: 170.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.7385, allocations: 7.995 MB / 1.068 GB, free: 170.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.7385, allocations: 0.625 kB / 1.068 GB, free: 170.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.7399, allocations: 0.6332 MB / 1.068 GB, free: 170.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.7409, allocations: 350 kB / 1.069 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/0.7411, allocations: 88.34 kB / 1.069 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.7438, allocations: 5.197 MB / 1.074 GB, free: 166.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7438, allocations: 4.453 kB / 1.074 GB, free: 166.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005372/0.7492, allocations: 3.485 MB / 1.077 GB, free: 165.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/0.7516, allocations: 0.9688 MB / 1.078 GB, free: 165.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007832/0.7524, allocations: 64.44 kB / 1.078 GB, free: 165.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.754, allocations: 200.3 kB / 1.078 GB, free: 165.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.7544, allocations: 208.9 kB / 1.079 GB, free: 165.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002156/0.7546, allocations: 138.7 kB / 1.079 GB, free: 165.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002959/0.7575, allocations: 2.148 MB / 1.081 GB, free: 165.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.7575, allocations: 0 / 1.081 GB, free: 165.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006032/0.7636, allocations: 2.041 MB / 1.083 GB, free: 165.1 MB / 1.01 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.0009237/0.7645, allocations: 289.5 kB / 1.083 GB, free: 165 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004924/0.7694, allocations: 3.041 MB / 1.086 GB, free: 164.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.7694, allocations: 2.797 kB / 1.086 GB, free: 164.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.7715, allocations: 1.561 MB / 1.088 GB, free: 164 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009077/0.7805, allocations: 2.819 MB / 1.09 GB, free: 163.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.7979, allocations: 10.79 MB / 1.101 GB, free: 158.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/0.8, allocations: 1.772 MB / 1.103 GB, free: 158 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00482/0.8048, allocations: 1.504 MB / 1.104 GB, free: 157.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/0.8063, allocations: 437.3 kB / 1.105 GB, free: 157.7 MB / 1.01 GB Notification: Performance of SimCode: time 2.955e-06/0.8063, allocations: 0.7656 kB / 1.105 GB, free: 157.7 MB / 1.01 GB Notification: Performance of Templates: time 0.1147/0.921, allocations: 106.2 MB / 1.208 GB, free: 82.3 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.32346307625994]