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.000943/0.000943, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001083/0.001083, allocations: 185 kB / 24.09 MB, free: 416 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.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.856/1.856, allocations: 377.9 MB / 0.624 GB, free: 8.398 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 1.593e-06/1.593e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.322e-05, allocations: 6.25 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01445/0.01447, allocations: 16.39 MB / 0.828 GB, free: 1.016 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.02595, allocations: 6.058 MB / 0.8339 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.0286, allocations: 107.1 kB / 0.834 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.02988, allocations: 0.5233 MB / 0.8345 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.03361, allocations: 1.817 MB / 0.8363 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.03649, allocations: 1.478 MB / 0.8378 GB, free: 7.043 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01795/0.05444, allocations: 21.81 MB / 0.8591 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009727/0.06417, allocations: 7.361 MB / 0.8662 GB, free: 9.688 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01948/0.08365, allocations: 10.13 MB / 0.8761 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.09398, allocations: 6.464 MB / 0.8824 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002831/0.09681, allocations: 0.9219 MB / 0.8833 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005284/0.1021, allocations: 1.191 MB / 0.8845 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002911/0.105, allocations: 2.488 MB / 0.8869 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.007145/0.1121, allocations: 3.333 MB / 0.8902 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.1228, allocations: 7.973 MB / 0.898 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1228, allocations: 0 / 0.898 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1228, allocations: 0 / 0.898 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003537/0.1231, allocations: 0 / 0.898 GB, free: 9.234 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.01233/0.1355, allocations: 8.595 MB / 0.9064 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1355, allocations: 8.031 kB / 0.9064 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/0.139, allocations: 1.518 MB / 0.9079 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008436/0.1474, allocations: 5.121 MB / 0.9129 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.1477, allocations: 460.6 kB / 0.9133 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009523/0.1486, allocations: 0.6174 MB / 0.9139 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007688/0.1563, allocations: 6.149 MB / 0.9199 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.1564, allocations: 15.88 kB / 0.9199 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004404/0.1569, allocations: 260 kB / 0.9202 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.157, allocations: 184 kB / 0.9203 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/0.1607, allocations: 1.957 MB / 0.9223 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.02994/0.1906, allocations: 26.74 MB / 0.9484 GB, free: 4.191 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.1929, allocations: 1.667 MB / 0.95 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.1946, allocations: 1.312 MB / 0.9513 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004457/0.195, allocations: 207.3 kB / 0.9515 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/0.1967, allocations: 2.082 MB / 0.9535 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001715/0.1984, allocations: 325.8 kB / 0.9538 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=317): time 1.124e-05/0.1984, allocations: 0 / 0.9538 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=317): time 0.004842/0.2033, allocations: 2.888 MB / 0.9566 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.2033, allocations: 85.91 kB / 0.9567 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004767/0.2081, allocations: 4.107 MB / 0.9607 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005265/0.2086, allocations: 85.7 kB / 0.9608 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003009/0.2116, allocations: 3.534 MB / 0.9643 GB, free: 3.512 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001294/0.2129, allocations: 1.228 MB / 0.9655 GB, free: 2.273 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009702/0.2139, allocations: 0.9451 MB / 0.9664 GB, free: 1.312 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.214, allocations: 484.7 kB / 0.9669 GB, free: 0.8359 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/0.2148, allocations: 0.5216 MB / 0.9674 GB, free: 308 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.2168, allocations: 2.902 MB / 0.9702 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/0.2199, allocations: 3.72 MB / 0.9738 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.861e-05/0.2199, allocations: 12 kB / 0.9738 GB, free: 7.711 MB / 0.9323 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005373/0.2253, allocations: 3.533 MB / 0.9773 GB, free: 4.121 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.2254, allocations: 54.67 kB / 0.9773 GB, free: 4.062 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.404e-05/0.2254, allocations: 48 kB / 0.9774 GB, free: 4.016 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.2265, allocations: 409.4 kB / 0.9778 GB, free: 3.609 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.2284, allocations: 0.9516 MB / 0.9787 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.2319, allocations: 5.158 MB / 0.9838 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/0.2348, allocations: 179.9 kB / 0.9839 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003089/0.2351, allocations: 184 kB / 0.9841 GB, free: 12.92 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.001843/0.237, allocations: 463 kB / 0.9845 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/0.2382, allocations: 0.5867 MB / 0.9851 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/0.2413, allocations: 2.374 MB / 0.9874 GB, free: 9.434 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.2414, allocations: 32.03 kB / 0.9875 GB, free: 9.402 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2414, allocations: 4 kB / 0.9875 GB, free: 9.398 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002039/0.2434, allocations: 1.787 MB / 0.9892 GB, free: 7.508 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.2542, allocations: 6.246 MB / 0.9953 GB, free: 1.148 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.2542, allocations: 0 / 0.9953 GB, free: 1.148 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.2555, allocations: 0.5853 MB / 0.9959 GB, free: 0.5625 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009729/0.2565, allocations: 341.8 kB / 0.9962 GB, free: 228 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.2567, allocations: 83.95 kB / 0.9963 GB, free: 144 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00324/0.2599, allocations: 5.069 MB / 1.001 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2599, allocations: 3.938 kB / 1.001 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/0.2648, allocations: 3.079 MB / 1.004 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/0.267, allocations: 0.8735 MB / 1.005 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006724/0.2677, allocations: 60 kB / 1.005 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.269, allocations: 119.8 kB / 1.005 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/0.2693, allocations: 214 kB / 1.005 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/0.2695, allocations: 119.9 kB / 1.006 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002096/0.2716, allocations: 1.978 MB / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2716, allocations: 0 / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004311/0.2759, allocations: 2.011 MB / 1.009 GB, free: 2.293 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.0006631/0.2765, allocations: 286.5 kB / 1.01 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003904/0.2805, allocations: 2.777 MB / 1.012 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.2805, allocations: 4 kB / 1.012 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.2819, allocations: 1.441 MB / 1.014 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0077/0.2896, allocations: 2.82 MB / 1.017 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/0.3063, allocations: 10.7 MB / 1.027 GB, free: 116 kB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.3079, allocations: 1.774 MB / 1.029 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003297/0.3112, allocations: 0.8936 MB / 1.03 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00428/0.3155, allocations: 2.024 MB / 1.032 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of SimCode: time 1.763e-06/0.3155, allocations: 0 / 1.032 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of Templates: time 0.484/0.7995, allocations: 108.3 MB / 1.137 GB, free: 218.3 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: 7.870695190038532]