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.001064/0.001064, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009524/0.0009524, allocations: 169 kB / 23.02 MB, free: 1.555 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.126/1.126, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.144/2.144, allocations: 429.5 MB / 0.6733 GB, free: 4.059 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 2.404e-06/2.404e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.268e-05, allocations: 3.062 kB / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01553/0.01556, allocations: 16.64 MB / 0.8944 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.02647, allocations: 6.057 MB / 0.9003 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/0.02874, allocations: 103.2 kB / 0.9004 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.02997, allocations: 0.5349 MB / 0.9009 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.03351, allocations: 1.81 MB / 0.9027 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.03614, allocations: 1.466 MB / 0.9041 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01599/0.05213, allocations: 21.83 MB / 0.9255 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009584/0.06171, allocations: 7.011 MB / 0.9323 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01816/0.07987, allocations: 9.866 MB / 0.9419 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01041/0.09027, allocations: 6.515 MB / 0.9483 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002671/0.09294, allocations: 0.9375 MB / 0.9492 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/0.09716, allocations: 1.238 MB / 0.9504 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001812/0.09897, allocations: 2.519 MB / 0.9529 GB, free: 9.645 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.005352/0.1043, allocations: 3.399 MB / 0.9562 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.008857/0.1132, allocations: 8.067 MB / 0.9641 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1132, allocations: 0 / 0.9641 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.595e-06/0.1132, allocations: 4 kB / 0.9641 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003322/0.1135, allocations: 0 / 0.9641 GB, free: 14.14 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.01209/0.1256, allocations: 9.025 MB / 0.9729 GB, free: 5.023 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1257, allocations: 11.97 kB / 0.9729 GB, free: 5.012 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.1281, allocations: 1.514 MB / 0.9744 GB, free: 3.492 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00701/0.1351, allocations: 6.149 MB / 0.9804 GB, free: 13.26 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.1354, allocations: 460.6 kB / 0.9808 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006176/0.136, allocations: 0.6136 MB / 0.9814 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007197/0.1432, allocations: 6.541 MB / 0.9878 GB, free: 4.973 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.53e-05/0.1433, allocations: 15.88 kB / 0.9878 GB, free: 4.957 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003898/0.1436, allocations: 260 kB / 0.9881 GB, free: 4.703 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.1438, allocations: 183.9 kB / 0.9883 GB, free: 4.523 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004169/0.1479, allocations: 2.436 MB / 0.9906 GB, free: 2.082 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.02491/0.1728, allocations: 27.24 MB / 1.017 GB, free: 6.285 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.1756, allocations: 1.868 MB / 1.019 GB, free: 4.422 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.1775, allocations: 1.52 MB / 1.021 GB, free: 2.898 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004627/0.1779, allocations: 166.3 kB / 1.021 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/0.18, allocations: 2.207 MB / 1.023 GB, free: 236 kB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001632/0.1816, allocations: 333.8 kB / 1.023 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=317): time 8.486e-06/0.1816, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.007605/0.1892, allocations: 3.384 MB / 1.026 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.1893, allocations: 85.91 kB / 1.027 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005932/0.1952, allocations: 4.195 MB / 1.031 GB, free: 8.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002609/0.1955, allocations: 93.7 kB / 1.031 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00318/0.1987, allocations: 3.488 MB / 1.034 GB, free: 4.551 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.1999, allocations: 1.213 MB / 1.035 GB, free: 3.328 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.2013, allocations: 0.9376 MB / 1.036 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2014, allocations: 476.8 kB / 1.037 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.2032, allocations: 0.6779 MB / 1.037 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002335/0.2055, allocations: 3.031 MB / 1.04 GB, free: 13.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/0.2095, allocations: 3.971 MB / 1.044 GB, free: 8.258 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-05/0.2095, allocations: 16 kB / 1.044 GB, free: 8.242 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005693/0.2152, allocations: 3.889 MB / 1.048 GB, free: 4.297 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/0.2152, allocations: 57.69 kB / 1.048 GB, free: 4.234 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/0.2153, allocations: 48 kB / 1.048 GB, free: 4.188 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.2164, allocations: 414.2 kB / 1.049 GB, free: 3.777 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.2183, allocations: 0.9984 MB / 1.05 GB, free: 2.777 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8861/1.104, allocations: 5.275 MB / 1.055 GB, free: 170.2 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/1.109, allocations: 301.7 kB / 1.055 GB, free: 170.2 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006602/1.109, allocations: 215.3 kB / 1.055 GB, free: 170.2 MB / 1.011 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.002078/1.111, allocations: 467.1 kB / 1.056 GB, free: 170 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/1.113, allocations: 0.5876 MB / 1.056 GB, free: 170 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/1.116, allocations: 2.639 MB / 1.059 GB, free: 169.8 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/1.116, allocations: 31.38 kB / 1.059 GB, free: 169.8 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/1.116, allocations: 2.875 kB / 1.059 GB, free: 169.8 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002444/1.119, allocations: 2.056 MB / 1.061 GB, free: 169.3 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.131, allocations: 8.04 MB / 1.069 GB, free: 168.7 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.131, allocations: 3 kB / 1.069 GB, free: 168.7 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/1.133, allocations: 0.6317 MB / 1.069 GB, free: 168.7 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/1.134, allocations: 351.6 kB / 1.07 GB, free: 168.7 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/1.134, allocations: 83.97 kB / 1.07 GB, free: 168.7 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/1.137, allocations: 5.184 MB / 1.075 GB, free: 164.8 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.137, allocations: 7.719 kB / 1.075 GB, free: 164.8 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005552/1.142, allocations: 3.482 MB / 1.078 GB, free: 164.3 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/1.144, allocations: 0.9806 MB / 1.079 GB, free: 164.2 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006643/1.145, allocations: 69.45 kB / 1.079 GB, free: 164.2 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.147, allocations: 206.2 kB / 1.079 GB, free: 164.2 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/1.147, allocations: 208.1 kB / 1.08 GB, free: 164.2 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/1.147, allocations: 140.6 kB / 1.08 GB, free: 164.2 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.003216/1.15, allocations: 2.159 MB / 1.082 GB, free: 164 MB / 1.011 GB Notification: Performance of sort global known variables: time 3.5e-07/1.15, allocations: 0 / 1.082 GB, free: 164 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.005999/1.156, allocations: 2.058 MB / 1.084 GB, free: 163.8 MB / 1.011 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.0008897/1.157, allocations: 308.4 kB / 1.084 GB, free: 163.7 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.004937/1.162, allocations: 3.035 MB / 1.087 GB, free: 163.1 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.162, allocations: 2.188 kB / 1.087 GB, free: 163.1 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/1.164, allocations: 1.567 MB / 1.089 GB, free: 162.7 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008971/1.173, allocations: 2.821 MB / 1.091 GB, free: 162.4 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/1.193, allocations: 10.81 MB / 1.102 GB, free: 157.1 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/1.195, allocations: 1.77 MB / 1.104 GB, free: 156.5 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.00541/1.201, allocations: 1.505 MB / 1.105 GB, free: 156.3 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.203, allocations: 437.1 kB / 1.106 GB, free: 156.3 MB / 1.011 GB Notification: Performance of SimCode: time 2.444e-06/1.203, allocations: 0 / 1.106 GB, free: 156.3 MB / 1.011 GB Notification: Performance of Templates: time 0.1228/1.325, allocations: 100.7 MB / 1.204 GB, free: 85.91 MB / 1.011 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.863024577964097]