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.001006/0.001006, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.00108/0.00108, allocations: 165 kB / 24.27 MB, free: 276 kB / 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.9773/0.9773, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.829/1.829, allocations: 359 MB / 0.6055 GB, free: 11.03 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 3.005e-06/3.005e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.521e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04086/0.04089, allocations: 58.04 MB / 0.8437 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01984/0.06074, allocations: 18.7 MB / 0.862 GB, free: 15.92 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.06351, allocations: 99.19 kB / 0.8621 GB, free: 15.82 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.06583, allocations: 0.9116 MB / 0.863 GB, free: 14.91 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006726/0.07256, allocations: 2.742 MB / 0.8657 GB, free: 12.15 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.07621, allocations: 1.657 MB / 0.8673 GB, free: 10.49 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01755/0.09376, allocations: 22.21 MB / 0.889 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009737/0.1035, allocations: 7.389 MB / 0.8962 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01907/0.1226, allocations: 10.25 MB / 0.9062 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.1329, allocations: 6.554 MB / 0.9126 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002592/0.1355, allocations: 0.9414 MB / 0.9135 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005824/0.1413, allocations: 1.592 MB / 0.9151 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.003232/0.1445, allocations: 2.531 MB / 0.9176 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.006634/0.1512, allocations: 3.357 MB / 0.9208 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.1617, allocations: 8.277 MB / 0.9289 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1617, allocations: 4 kB / 0.9289 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1617, allocations: 0 / 0.9289 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002987/0.162, allocations: 0 / 0.9289 GB, free: 11.25 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.01308/0.1751, allocations: 9.087 MB / 0.9378 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.1751, allocations: 12.03 kB / 0.9378 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/0.1785, allocations: 1.51 MB / 0.9393 GB, free: 0.5391 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009478/0.188, allocations: 6.116 MB / 0.9453 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.1884, allocations: 464.6 kB / 0.9457 GB, free: 9.883 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.1897, allocations: 0.6136 MB / 0.9463 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0093/0.199, allocations: 6.537 MB / 0.9527 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.1991, allocations: 31.81 kB / 0.9527 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005263/0.1996, allocations: 260 kB / 0.953 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.1998, allocations: 176 kB / 0.9531 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005495/0.2053, allocations: 2.432 MB / 0.9555 GB, free: 15.16 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.03115/0.2364, allocations: 27.17 MB / 0.982 GB, free: 3.426 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.2396, allocations: 1.85 MB / 0.9838 GB, free: 1.578 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/0.2418, allocations: 1.531 MB / 0.9853 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005507/0.2423, allocations: 202.3 kB / 0.9855 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002264/0.2446, allocations: 2.214 MB / 0.9877 GB, free: 13.33 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00213/0.2467, allocations: 317.8 kB / 0.988 GB, free: 13.02 MB / 0.948 GB Notification: Performance of pre-optimization done (n=317): time 1.695e-05/0.2467, allocations: 4 kB / 0.988 GB, free: 13.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=317): time 0.007077/0.2538, allocations: 3.392 MB / 0.9913 GB, free: 9.574 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.2539, allocations: 85.91 kB / 0.9914 GB, free: 9.477 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006113/0.26, allocations: 4.203 MB / 0.9955 GB, free: 5.258 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005394/0.2605, allocations: 85.7 kB / 0.9956 GB, free: 5.168 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002711/0.2632, allocations: 3.5 MB / 0.999 GB, free: 1.645 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001265/0.2645, allocations: 1.213 MB / 1 GB, free: 432 kB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.2655, allocations: 0.9299 MB / 1.001 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.2657, allocations: 476.8 kB / 1.002 GB, free: 15 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.2669, allocations: 0.674 MB / 1.002 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.2692, allocations: 3.043 MB / 1.005 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/0.273, allocations: 3.975 MB / 1.009 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/0.2731, allocations: 16 kB / 1.009 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006449/0.2795, allocations: 3.89 MB / 1.013 GB, free: 1.383 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/0.2796, allocations: 53.92 kB / 1.013 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-05/0.2796, allocations: 52 kB / 1.013 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.2809, allocations: 413.9 kB / 1.013 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.283, allocations: 0.9985 MB / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.2864, allocations: 5.284 MB / 1.019 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/0.2897, allocations: 283.6 kB / 1.02 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/0.2901, allocations: 224 kB / 1.02 GB, free: 9.852 MB / 0.9792 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.001867/0.2919, allocations: 458.9 kB / 1.02 GB, free: 9.391 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/0.2933, allocations: 0.5829 MB / 1.021 GB, free: 8.805 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.2972, allocations: 2.64 MB / 1.024 GB, free: 6.105 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.2972, allocations: 32 kB / 1.024 GB, free: 6.074 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.2972, allocations: 4 kB / 1.024 GB, free: 6.07 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002667/0.2999, allocations: 2.058 MB / 1.026 GB, free: 3.906 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.3143, allocations: 8.004 MB / 1.033 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.3143, allocations: 3.984 kB / 1.033 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.3158, allocations: 0.6399 MB / 1.034 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.3169, allocations: 354.1 kB / 1.034 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/0.3171, allocations: 87.89 kB / 1.034 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003269/0.3204, allocations: 5.177 MB / 1.04 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3204, allocations: 4 kB / 1.04 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/0.3259, allocations: 3.489 MB / 1.043 GB, free: 1.684 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/0.328, allocations: 0.9711 MB / 1.044 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005821/0.3286, allocations: 67.98 kB / 1.044 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.33, allocations: 196.1 kB / 1.044 GB, free: 460 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003337/0.3304, allocations: 206 kB / 1.044 GB, free: 252 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/0.3306, allocations: 143.9 kB / 1.044 GB, free: 108 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00271/0.3333, allocations: 2.166 MB / 1.047 GB, free: 13.95 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.3333, allocations: 0 / 1.047 GB, free: 13.95 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005611/0.3389, allocations: 2.085 MB / 1.049 GB, free: 11.86 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.001479/0.3404, allocations: 487.4 kB / 1.049 GB, free: 11.37 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005592/0.3459, allocations: 3.042 MB / 1.052 GB, free: 8.25 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.346, allocations: 4 kB / 1.052 GB, free: 8.246 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.348, allocations: 1.56 MB / 1.054 GB, free: 6.645 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01076/0.3588, allocations: 2.832 MB / 1.056 GB, free: 3.902 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3782/0.737, allocations: 10.8 MB / 1.067 GB, free: 293.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/0.7389, allocations: 1.777 MB / 1.069 GB, free: 293.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004367/0.7432, allocations: 1.528 MB / 1.07 GB, free: 293.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/0.7445, allocations: 436.1 kB / 1.071 GB, free: 293.6 MB / 1.01 GB Notification: Performance of SimCode: time 3.126e-06/0.7445, allocations: 3.844 kB / 1.071 GB, free: 293.6 MB / 1.01 GB Notification: Performance of Templates: time 0.1076/0.8521, allocations: 102.5 MB / 1.171 GB, free: 227.2 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.873345287051052]