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.001017/0.001017, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001052/0.001052, allocations: 173 kB / 23.49 MB, free: 1.059 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.9573/0.9573, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.149/2.149, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.063e-06/2.063e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.376e-05, allocations: 9.344 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0525/0.05254, allocations: 58.13 MB / 0.9349 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.02157/0.07411, allocations: 18.66 MB / 0.9532 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.07682, allocations: 99.19 kB / 0.9533 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003082/0.0799, allocations: 0.9115 MB / 0.9541 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006999/0.0869, allocations: 2.734 MB / 0.9568 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.09082, allocations: 1.649 MB / 0.9584 GB, free: 4.223 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.02156/0.1124, allocations: 22.3 MB / 0.9802 GB, free: 13.86 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.1243, allocations: 7.023 MB / 0.9871 GB, free: 6.738 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0232/0.1475, allocations: 10.51 MB / 0.9973 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.1587, allocations: 6.515 MB / 1.004 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.003782/0.1625, allocations: 0.9375 MB / 1.005 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006489/0.169, allocations: 1.604 MB / 1.006 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.00482/0.1738, allocations: 2.523 MB / 1.009 GB, free: 0.7031 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.009012/0.1828, allocations: 3.392 MB / 1.012 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.1971, allocations: 8.324 MB / 1.02 GB, free: 4.957 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.1971, allocations: 0 / 1.02 GB, free: 4.957 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1971, allocations: 0 / 1.02 GB, free: 4.957 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004511/0.1976, allocations: 0 / 1.02 GB, free: 4.957 MB / 0.9792 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.01706/0.2146, allocations: 9.087 MB / 1.029 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.2147, allocations: 8.031 kB / 1.029 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004977/0.2197, allocations: 1.518 MB / 1.03 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.2306, allocations: 6.139 MB / 1.036 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.2309, allocations: 460.6 kB / 1.037 GB, free: 3.57 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/0.2327, allocations: 0.6136 MB / 1.037 GB, free: 2.957 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/0.2465, allocations: 6.545 MB / 1.044 GB, free: 11.73 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.2467, allocations: 11.88 kB / 1.044 GB, free: 11.72 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/0.2477, allocations: 260 kB / 1.044 GB, free: 11.46 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.2479, allocations: 179.9 kB / 1.044 GB, free: 11.29 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008529/0.2564, allocations: 2.432 MB / 1.047 GB, free: 8.852 MB / 1.01 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.4958/0.7522, allocations: 27.24 MB / 1.073 GB, free: 113.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.7546, allocations: 1.855 MB / 1.075 GB, free: 113.2 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.7564, allocations: 1.526 MB / 1.077 GB, free: 113.1 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004785/0.7569, allocations: 207 kB / 1.077 GB, free: 113.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001793/0.7587, allocations: 2.214 MB / 1.079 GB, free: 111.7 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001456/0.7602, allocations: 326 kB / 1.079 GB, free: 111.7 MB / 1.01 GB Notification: Performance of pre-optimization done (n=317): time 1.457e-05/0.7602, allocations: 0 / 1.079 GB, free: 111.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=317): time 0.005826/0.766, allocations: 3.382 MB / 1.083 GB, free: 111.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.7661, allocations: 90.81 kB / 1.083 GB, free: 111.4 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004627/0.7707, allocations: 4.2 MB / 1.087 GB, free: 111.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.7709, allocations: 87.77 kB / 1.087 GB, free: 111 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002161/0.773, allocations: 3.492 MB / 1.09 GB, free: 109.9 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007925/0.7738, allocations: 1.215 MB / 1.091 GB, free: 109.3 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009604/0.7748, allocations: 0.9316 MB / 1.092 GB, free: 109.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.7748, allocations: 480.7 kB / 1.093 GB, free: 108.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.7761, allocations: 0.6783 MB / 1.093 GB, free: 108.7 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.7783, allocations: 3.034 MB / 1.096 GB, free: 105.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004196/0.7825, allocations: 3.971 MB / 1.1 GB, free: 103.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.815e-05/0.7826, allocations: 17.34 kB / 1.1 GB, free: 103.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006211/0.7888, allocations: 3.885 MB / 1.104 GB, free: 102.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.7888, allocations: 55.89 kB / 1.104 GB, free: 102.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-05/0.7889, allocations: 52.66 kB / 1.104 GB, free: 102.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.7901, allocations: 414.1 kB / 1.105 GB, free: 102.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.7922, allocations: 1.004 MB / 1.106 GB, free: 102.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.7952, allocations: 5.282 MB / 1.111 GB, free: 98.58 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.7977, allocations: 283.9 kB / 1.111 GB, free: 98.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/0.798, allocations: 224 kB / 1.111 GB, free: 98.56 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.00184/0.7999, allocations: 456.5 kB / 1.112 GB, free: 98.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008318/0.8007, allocations: 0.5901 MB / 1.112 GB, free: 98.14 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.8049, allocations: 2.645 MB / 1.115 GB, free: 97.89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-05/0.805, allocations: 31.12 kB / 1.115 GB, free: 97.89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.805, allocations: 3.656 kB / 1.115 GB, free: 97.89 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0029/0.8079, allocations: 2.049 MB / 1.117 GB, free: 97.42 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.8192, allocations: 8.049 MB / 1.125 GB, free: 95.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.8192, allocations: 1.188 kB / 1.125 GB, free: 95.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.8209, allocations: 0.6355 MB / 1.125 GB, free: 95.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.822, allocations: 357.9 kB / 1.126 GB, free: 95.77 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002254/0.8223, allocations: 84.31 kB / 1.126 GB, free: 95.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/0.8252, allocations: 5.177 MB / 1.131 GB, free: 91.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.8252, allocations: 4.469 kB / 1.131 GB, free: 91.25 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006232/0.8314, allocations: 3.486 MB / 1.134 GB, free: 89.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/0.8333, allocations: 0.984 MB / 1.135 GB, free: 89.41 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005334/0.8338, allocations: 69.08 kB / 1.135 GB, free: 89.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.8352, allocations: 201.9 kB / 1.135 GB, free: 89.32 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004506/0.8357, allocations: 210.3 kB / 1.136 GB, free: 89.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003499/0.836, allocations: 142 kB / 1.136 GB, free: 89.26 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003727/0.8398, allocations: 2.161 MB / 1.138 GB, free: 88.58 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8398, allocations: 1.375 kB / 1.138 GB, free: 88.58 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00497/0.8447, allocations: 2.127 MB / 1.14 GB, free: 88.27 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.0007725/0.8455, allocations: 491.2 kB / 1.14 GB, free: 88.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004267/0.8498, allocations: 3.041 MB / 1.143 GB, free: 87.13 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.8498, allocations: 6.375 kB / 1.143 GB, free: 87.13 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.8515, allocations: 1.566 MB / 1.145 GB, free: 86.51 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006608/0.8581, allocations: 2.819 MB / 1.148 GB, free: 85.72 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.8729, allocations: 10.8 MB / 1.158 GB, free: 80.48 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.8747, allocations: 1.77 MB / 1.16 GB, free: 79.93 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004567/0.8793, allocations: 1.507 MB / 1.161 GB, free: 79.68 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.8803, allocations: 437.1 kB / 1.162 GB, free: 79.65 MB / 1.01 GB Notification: Performance of SimCode: time 2.194e-06/0.8803, allocations: 1.969 kB / 1.162 GB, free: 79.65 MB / 1.01 GB Notification: Performance of Templates: time 0.0996/0.9799, allocations: 103.4 MB / 1.263 GB, free: 12 MB / 1.026 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.236662368057296]