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.000916/0.000916, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00114/0.00114, allocations: 169 kB / 24.28 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 1.08/1.08, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.939/1.939, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.734e-06/1.734e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.142e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04662/0.04665, allocations: 58.13 MB / 0.8683 GB, free: 7.801 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.06446, allocations: 18.69 MB / 0.8865 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.06611, allocations: 103.2 kB / 0.8866 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.06788, allocations: 0.9039 MB / 0.8875 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.07246, allocations: 2.731 MB / 0.8902 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.07514, allocations: 1.664 MB / 0.8918 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01524/0.09037, allocations: 22.24 MB / 0.9135 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009371/0.09975, allocations: 7.385 MB / 0.9207 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01456/0.1143, allocations: 10.5 MB / 0.931 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008343/0.1226, allocations: 6.488 MB / 0.9373 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001718/0.1244, allocations: 0.9375 MB / 0.9382 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.1275, allocations: 1.584 MB / 0.9398 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001601/0.1291, allocations: 2.523 MB / 0.9422 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004036/0.1331, allocations: 3.376 MB / 0.9455 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.009193/0.1423, allocations: 8.301 MB / 0.9537 GB, free: 168 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1423, allocations: 0 / 0.9537 GB, free: 168 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1423, allocations: 3.938 kB / 0.9537 GB, free: 164 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002419/0.1425, allocations: 0 / 0.9537 GB, free: 164 kB / 0.9011 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.01026/0.1528, allocations: 9.088 MB / 0.9625 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1528, allocations: 8.031 kB / 0.9625 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.1553, allocations: 1.514 MB / 0.964 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006569/0.1619, allocations: 6.127 MB / 0.97 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.1621, allocations: 464.5 kB / 0.9704 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005999/0.1627, allocations: 0.6097 MB / 0.971 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007304/0.17, allocations: 6.545 MB / 0.9774 GB, free: 6.941 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.1701, allocations: 15.83 kB / 0.9774 GB, free: 6.926 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/0.1705, allocations: 268 kB / 0.9777 GB, free: 6.664 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001944/0.1707, allocations: 180 kB / 0.9779 GB, free: 6.488 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004658/0.1754, allocations: 2.432 MB / 0.9802 GB, free: 4.051 MB / 0.9323 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.02331/0.1987, allocations: 27.2 MB / 1.007 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.2012, allocations: 1.876 MB / 1.009 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.2031, allocations: 1.528 MB / 1.01 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004758/0.2035, allocations: 206.3 kB / 1.01 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001957/0.2055, allocations: 2.211 MB / 1.012 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001383/0.2069, allocations: 321.8 kB / 1.013 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 7.624e-06/0.2069, allocations: 0 / 1.013 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.005679/0.2126, allocations: 3.392 MB / 1.016 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.2126, allocations: 89.91 kB / 1.016 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.2166, allocations: 4.199 MB / 1.02 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.2169, allocations: 93.7 kB / 1.02 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002082/0.2189, allocations: 3.5 MB / 1.024 GB, free: 6.492 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007791/0.2197, allocations: 1.205 MB / 1.025 GB, free: 5.277 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008836/0.2206, allocations: 0.9299 MB / 1.026 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.2207, allocations: 484.8 kB / 1.026 GB, free: 3.855 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.2219, allocations: 0.674 MB / 1.027 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/0.2241, allocations: 3.035 MB / 1.03 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003783/0.2279, allocations: 3.975 MB / 1.034 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/0.2279, allocations: 12 kB / 1.034 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005335/0.2333, allocations: 3.89 MB / 1.038 GB, free: 6.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.806e-05/0.2333, allocations: 57.69 kB / 1.038 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.443e-05/0.2334, allocations: 48 kB / 1.038 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.2345, allocations: 418.3 kB / 1.038 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.2365, allocations: 0.9984 MB / 1.039 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.2398, allocations: 5.274 MB / 1.044 GB, free: 15.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.2421, allocations: 279.6 kB / 1.045 GB, free: 14.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.2423, allocations: 220 kB / 1.045 GB, free: 14.72 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.001501/0.2438, allocations: 462.9 kB / 1.045 GB, free: 14.26 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007422/0.2446, allocations: 0.5829 MB / 1.046 GB, free: 13.67 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.2484, allocations: 2.651 MB / 1.048 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.2484, allocations: 32 kB / 1.048 GB, free: 10.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2484, allocations: 4 kB / 1.048 GB, free: 10.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002656/0.251, allocations: 2.047 MB / 1.05 GB, free: 8.773 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.2613, allocations: 8.018 MB / 1.058 GB, free: 0.6367 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2613, allocations: 0 / 1.058 GB, free: 0.6367 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.2628, allocations: 0.636 MB / 1.059 GB, free: 0 / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6963/0.9591, allocations: 350.5 kB / 1.059 GB, free: 269 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007646/0.9599, allocations: 87.8 kB / 1.059 GB, free: 269 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.9627, allocations: 5.178 MB / 1.064 GB, free: 265.1 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9627, allocations: 3.469 kB / 1.064 GB, free: 265.1 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005707/0.9684, allocations: 3.497 MB / 1.068 GB, free: 264.7 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/0.97, allocations: 0.9649 MB / 1.069 GB, free: 264.7 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004147/0.9704, allocations: 65.47 kB / 1.069 GB, free: 264.7 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.9718, allocations: 194.2 kB / 1.069 GB, free: 264.7 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.9721, allocations: 211.5 kB / 1.069 GB, free: 264.7 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/0.9723, allocations: 141.6 kB / 1.069 GB, free: 264.7 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.002496/0.9748, allocations: 2.168 MB / 1.071 GB, free: 264.4 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9748, allocations: 0 / 1.071 GB, free: 264.4 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.004004/0.9788, allocations: 2.101 MB / 1.073 GB, free: 264.4 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.0007387/0.9795, allocations: 483.3 kB / 1.074 GB, free: 264.4 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.00369/0.9832, allocations: 3.033 MB / 1.077 GB, free: 263.6 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9832, allocations: 4.719 kB / 1.077 GB, free: 263.6 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.9847, allocations: 1.562 MB / 1.078 GB, free: 263.2 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005578/0.9902, allocations: 2.837 MB / 1.081 GB, free: 262.9 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.004, allocations: 10.8 MB / 1.092 GB, free: 257.9 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.005, allocations: 1.772 MB / 1.093 GB, free: 257.4 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.003759/1.009, allocations: 1.521 MB / 1.095 GB, free: 257.1 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000964/1.01, allocations: 444.8 kB / 1.095 GB, free: 257.1 MB / 1.011 GB Notification: Performance of SimCode: time 1.813e-06/1.01, allocations: 0 / 1.095 GB, free: 257.1 MB / 1.011 GB Notification: Performance of Templates: time 0.1018/1.111, allocations: 102.5 MB / 1.195 GB, free: 179.3 MB / 1.011 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.221367106074467]