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.001002/0.001002, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001586/0.001586, allocations: 169 kB / 24.06 MB, free: 456 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.092/1.092, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.089/2.089, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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 1.523e-06/1.523e-06, allocations: 3.938 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.652e-05, allocations: 5.219 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01319/0.01322, allocations: 16.37 MB / 0.8954 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009659/0.02288, allocations: 6.045 MB / 0.9013 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.02546, allocations: 103.2 kB / 0.9014 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.02688, allocations: 0.5271 MB / 0.9019 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.03122, allocations: 1.817 MB / 0.9037 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.0338, allocations: 1.466 MB / 0.9051 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01715/0.05096, allocations: 21.84 MB / 0.9264 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.06157, allocations: 7.019 MB / 0.9333 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01978/0.08135, allocations: 10.17 MB / 0.9432 GB, free: 4.508 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01135/0.0927, allocations: 6.495 MB / 0.9496 GB, free: 14 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002815/0.09552, allocations: 0.9219 MB / 0.9505 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005612/0.1011, allocations: 1.206 MB / 0.9516 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.003854/0.105, allocations: 2.476 MB / 0.9541 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.008002/0.113, allocations: 3.353 MB / 0.9573 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.1248, allocations: 7.989 MB / 0.9651 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.1248, allocations: 4 kB / 0.9651 GB, free: 14 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1248, allocations: 0 / 0.9651 GB, free: 14 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000324/0.1251, allocations: 0 / 0.9651 GB, free: 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.01292/0.138, allocations: 8.587 MB / 0.9735 GB, free: 5.324 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1381, allocations: 8.031 kB / 0.9735 GB, free: 5.316 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.1414, allocations: 1.518 MB / 0.975 GB, free: 3.793 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00834/0.1498, allocations: 5.113 MB / 0.98 GB, free: 14.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.15, allocations: 460.6 kB / 0.9804 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.1512, allocations: 0.6213 MB / 0.981 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007643/0.1588, allocations: 6.146 MB / 0.987 GB, free: 6.695 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000109/0.1589, allocations: 19.83 kB / 0.9871 GB, free: 6.676 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000458/0.1594, allocations: 264 kB / 0.9873 GB, free: 6.418 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.1595, allocations: 179.9 kB / 0.9875 GB, free: 6.242 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/0.1627, allocations: 1.965 MB / 0.9894 GB, free: 4.27 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.02866/0.1914, allocations: 26.78 MB / 1.016 GB, free: 8.926 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.194, allocations: 1.648 MB / 1.017 GB, free: 7.277 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.1955, allocations: 1.316 MB / 1.018 GB, free: 5.961 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/0.1959, allocations: 162.3 kB / 1.019 GB, free: 5.801 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/0.1975, allocations: 2.089 MB / 1.021 GB, free: 3.414 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001818/0.1994, allocations: 325.8 kB / 1.021 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=317): time 7.184e-06/0.1994, allocations: 0 / 1.021 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of matching and sorting (n=317): time 0.005258/0.2046, allocations: 2.892 MB / 1.024 GB, free: 156 kB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.2047, allocations: 81.91 kB / 1.024 GB, free: 60 kB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004813/0.2095, allocations: 4.098 MB / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005074/0.21, allocations: 89.7 kB / 1.028 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003091/0.2131, allocations: 3.534 MB / 1.031 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001367/0.2145, allocations: 1.224 MB / 1.033 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009871/0.2155, allocations: 0.9413 MB / 1.034 GB, free: 6.098 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2156, allocations: 480.7 kB / 1.034 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007685/0.2163, allocations: 0.5216 MB / 1.034 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.2182, allocations: 2.906 MB / 1.037 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.2211, allocations: 3.712 MB / 1.041 GB, free: 12.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/0.2212, allocations: 16 kB / 1.041 GB, free: 12.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005153/0.2263, allocations: 3.53 MB / 1.044 GB, free: 8.914 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/0.2264, allocations: 49.7 kB / 1.044 GB, free: 8.859 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/0.2264, allocations: 52 kB / 1.045 GB, free: 8.809 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.2275, allocations: 402.3 kB / 1.045 GB, free: 8.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.2294, allocations: 0.9554 MB / 1.046 GB, free: 7.453 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/0.2328, allocations: 5.172 MB / 1.051 GB, free: 2.055 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.2359, allocations: 183.9 kB / 1.051 GB, free: 1.875 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003225/0.2362, allocations: 180 kB / 1.051 GB, free: 1.699 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.001735/0.2379, allocations: 458.9 kB / 1.052 GB, free: 1.238 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/0.239, allocations: 0.5867 MB / 1.052 GB, free: 0.6484 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7491/0.9881, allocations: 2.368 MB / 1.055 GB, free: 175.7 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.9881, allocations: 38.91 kB / 1.055 GB, free: 175.7 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9881, allocations: 3.438 kB / 1.055 GB, free: 175.7 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/0.9898, allocations: 1.777 MB / 1.056 GB, free: 175.2 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009304/0.9991, allocations: 6.266 MB / 1.062 GB, free: 174.7 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.9991, allocations: 2.938 kB / 1.062 GB, free: 174.7 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1, allocations: 0.5824 MB / 1.063 GB, free: 174.7 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009282/1.001, allocations: 343.9 kB / 1.063 GB, free: 174.6 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/1.002, allocations: 83.8 kB / 1.063 GB, free: 174.6 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/1.004, allocations: 5.056 MB / 1.068 GB, free: 170.8 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.004, allocations: 3.938 kB / 1.068 GB, free: 170.8 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/1.008, allocations: 3.082 MB / 1.071 GB, free: 170.3 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/1.009, allocations: 0.8885 MB / 1.072 GB, free: 170.3 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000607/1.01, allocations: 66.77 kB / 1.072 GB, free: 170.3 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.012, allocations: 106.7 kB / 1.072 GB, free: 170.3 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/1.012, allocations: 212.2 kB / 1.073 GB, free: 170.3 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.012, allocations: 119.8 kB / 1.073 GB, free: 170.3 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.001808/1.014, allocations: 1.972 MB / 1.075 GB, free: 170.1 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.5e-07/1.014, allocations: 0 / 1.075 GB, free: 170.1 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.00409/1.018, allocations: 2.041 MB / 1.077 GB, free: 170 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.0006358/1.019, allocations: 298.5 kB / 1.077 GB, free: 169.9 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.003309/1.022, allocations: 2.768 MB / 1.08 GB, free: 169.4 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/1.022, allocations: 5.781 kB / 1.08 GB, free: 169.4 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/1.023, allocations: 1.434 MB / 1.081 GB, free: 168.9 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006936/1.03, allocations: 2.818 MB / 1.084 GB, free: 168.7 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/1.044, allocations: 10.7 MB / 1.094 GB, free: 164.3 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/1.045, allocations: 1.778 MB / 1.096 GB, free: 164.1 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.00345/1.049, allocations: 0.876 MB / 1.097 GB, free: 163.9 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004486/1.053, allocations: 2.022 MB / 1.099 GB, free: 163.8 MB / 1.011 GB Notification: Performance of SimCode: time 2.134e-06/1.053, allocations: 0 / 1.099 GB, free: 163.8 MB / 1.011 GB Notification: Performance of Templates: time 0.1138/1.167, allocations: 110.8 MB / 1.207 GB, free: 84.23 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.81253899820149]