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.0009476/0.0009476, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001062/0.001062, allocations: 172.3 kB / 24.87 MB, free: 8.879 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.034/1.034, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.898/1.898, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.495e-06/2.495e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.226e-05, allocations: 2.859 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.02099/0.02102, allocations: 16.39 MB / 0.8288 GB, free: 1.016 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.03716, allocations: 6.05 MB / 0.8347 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00588/0.04304, allocations: 103.2 kB / 0.8348 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.04565, allocations: 0.531 MB / 0.8353 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.05071, allocations: 1.81 MB / 0.8371 GB, free: 8.531 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.05386, allocations: 1.486 MB / 0.8385 GB, free: 7.043 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0161/0.06996, allocations: 21.81 MB / 0.8598 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009859/0.07982, allocations: 7.369 MB / 0.867 GB, free: 9.68 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02133/0.1012, allocations: 10.14 MB / 0.8769 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/0.1119, allocations: 6.453 MB / 0.8832 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003166/0.1151, allocations: 0.9258 MB / 0.8841 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005164/0.1203, allocations: 1.191 MB / 0.8853 GB, free: 7.062 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004145/0.1244, allocations: 2.48 MB / 0.8877 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.009642/0.134, allocations: 3.341 MB / 0.891 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.1465, allocations: 7.973 MB / 0.8987 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.1465, allocations: 0 / 0.8987 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1465, allocations: 0 / 0.8987 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000426/0.1469, allocations: 0 / 0.8987 GB, free: 9.23 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.0146/0.1615, allocations: 8.583 MB / 0.9071 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1615, allocations: 12.03 kB / 0.9071 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/0.1648, allocations: 1.514 MB / 0.9086 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008292/0.1731, allocations: 5.132 MB / 0.9136 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003101/0.1734, allocations: 456.6 kB / 0.9141 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/0.1748, allocations: 0.6174 MB / 0.9147 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008275/0.183, allocations: 6.146 MB / 0.9207 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001605/0.1832, allocations: 23.86 kB / 0.9207 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005284/0.1837, allocations: 260 kB / 0.9209 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.1839, allocations: 179.9 kB / 0.9211 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.1879, allocations: 1.961 MB / 0.923 GB, free: 15.49 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.03444/0.2224, allocations: 26.74 MB / 0.9491 GB, free: 4.191 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.2248, allocations: 1.664 MB / 0.9508 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.2263, allocations: 1.308 MB / 0.952 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004465/0.2268, allocations: 158.3 kB / 0.9522 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001869/0.2286, allocations: 2.089 MB / 0.9542 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001845/0.2305, allocations: 333.7 kB / 0.9546 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=317): time 1.067e-05/0.2305, allocations: 0 / 0.9546 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of matching and sorting (n=317): time 0.00514/0.2356, allocations: 2.88 MB / 0.9574 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.2357, allocations: 89.84 kB / 0.9575 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004834/0.2405, allocations: 4.107 MB / 0.9615 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004869/0.241, allocations: 89.7 kB / 0.9616 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002827/0.2439, allocations: 3.538 MB / 0.965 GB, free: 3.531 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.2453, allocations: 1.224 MB / 0.9662 GB, free: 2.297 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.2463, allocations: 0.949 MB / 0.9671 GB, free: 1.332 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2465, allocations: 476.8 kB / 0.9676 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.2476, allocations: 0.5177 MB / 0.9681 GB, free: 340 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.2495, allocations: 2.898 MB / 0.9709 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/0.2532, allocations: 3.728 MB / 0.9746 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.094e-05/0.2532, allocations: 16 kB / 0.9746 GB, free: 7.734 MB / 0.9323 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005608/0.2588, allocations: 3.531 MB / 0.978 GB, free: 4.148 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.2589, allocations: 53.64 kB / 0.9781 GB, free: 4.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.093e-05/0.2589, allocations: 52 kB / 0.9781 GB, free: 4.039 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.2601, allocations: 399 kB / 0.9785 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.2622, allocations: 0.9516 MB / 0.9794 GB, free: 2.688 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/0.2661, allocations: 5.157 MB / 0.9845 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/0.2698, allocations: 179.9 kB / 0.9846 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005967/0.2704, allocations: 184 kB / 0.9848 GB, free: 12.95 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.002098/0.2725, allocations: 459 kB / 0.9853 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/0.2739, allocations: 0.5828 MB / 0.9858 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/0.2778, allocations: 2.382 MB / 0.9881 GB, free: 9.465 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.2778, allocations: 32 kB / 0.9882 GB, free: 9.434 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.2778, allocations: 4 kB / 0.9882 GB, free: 9.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00207/0.2799, allocations: 1.779 MB / 0.9899 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.292, allocations: 6.261 MB / 0.996 GB, free: 1.172 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.292, allocations: 0 / 0.996 GB, free: 1.172 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.2935, allocations: 0.5814 MB / 0.9966 GB, free: 0.5898 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.2946, allocations: 346 kB / 0.9969 GB, free: 252 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.2948, allocations: 79.95 kB / 0.997 GB, free: 172 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003839/0.2986, allocations: 5.055 MB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2986, allocations: 4 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004996/0.3036, allocations: 3.082 MB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002288/0.3059, allocations: 0.8657 MB / 1.006 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008201/0.3067, allocations: 67.98 kB / 1.006 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/0.3083, allocations: 120.2 kB / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.3086, allocations: 210 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/0.3088, allocations: 119.9 kB / 1.006 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002461/0.3113, allocations: 1.978 MB / 1.008 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3113, allocations: 4 kB / 1.008 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005226/0.3165, allocations: 2.011 MB / 1.01 GB, free: 2.332 MB / 0.9636 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.0007791/0.3173, allocations: 294.5 kB / 1.01 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004017/0.3213, allocations: 2.768 MB / 1.013 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.3213, allocations: 4 kB / 1.013 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.3229, allocations: 1.439 MB / 1.015 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008832/0.3317, allocations: 2.815 MB / 1.017 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.3488, allocations: 10.71 MB / 1.028 GB, free: 152 kB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.351, allocations: 1.774 MB / 1.03 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003493/0.3545, allocations: 0.8781 MB / 1.03 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00474/0.3592, allocations: 2.031 MB / 1.032 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of SimCode: time 3.527e-06/0.3592, allocations: 0 / 1.032 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of Templates: time 0.4872/0.8464, allocations: 109.9 MB / 1.14 GB, free: 216.5 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.188885676208884]