Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001025/0.001025, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001023/0.001023, allocations: 161 kB / 24.16 MB, free: 332 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.026/1.026, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.958/1.958, allocations: 377.9 MB / 0.624 GB, free: 8.316 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.246e-05, allocations: 6 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1434/0.1434, allocations: 150.3 MB / 0.9069 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006771/0.1502, allocations: 3.906 MB / 0.9107 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.1513, allocations: 59.44 kB / 0.9108 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.1521, allocations: 289.9 kB / 0.911 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.1545, allocations: 1.169 MB / 0.9122 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1562, allocations: 0.8887 MB / 0.9131 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00314/0.1594, allocations: 2.987 MB / 0.916 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.161, allocations: 0.9051 MB / 0.9169 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.1633, allocations: 1.555 MB / 0.9184 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.1645, allocations: 0.8647 MB / 0.9192 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.1647, allocations: 120 kB / 0.9193 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008375/0.1656, allocations: 423.1 kB / 0.9197 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004712/0.166, allocations: 0.6312 MB / 0.9204 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006046/0.1666, allocations: 0.5185 MB / 0.9209 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.1684, allocations: 1.339 MB / 0.9222 GB, free: 196 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1684, allocations: 0 / 0.9222 GB, free: 196 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1684, allocations: 0 / 0.9222 GB, free: 196 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.4e-05/0.1685, allocations: 0 / 0.9222 GB, free: 196 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00217/0.1706, allocations: 1.429 MB / 0.9236 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1707, allocations: 12.03 kB / 0.9236 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.172, allocations: 412 kB / 0.924 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/0.1729, allocations: 0.6953 MB / 0.9246 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.1729, allocations: 78.12 kB / 0.9247 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.173, allocations: 108 kB / 0.9248 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009381/0.174, allocations: 1.052 MB / 0.9259 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.174, allocations: 3.984 kB / 0.9259 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.1741, allocations: 40 kB / 0.9259 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.1741, allocations: 45.98 kB / 0.9259 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.1745, allocations: 273.8 kB / 0.9262 GB, free: 11.88 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.002891/0.1774, allocations: 2.051 MB / 0.9282 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.1779, allocations: 336.1 kB / 0.9285 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.178, allocations: 113.7 kB / 0.9286 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.1781, allocations: 32.42 kB / 0.9287 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.1782, allocations: 47.05 kB / 0.9287 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=53): time 4.729e-06/0.1782, allocations: 0 / 0.9287 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of matching and sorting (n=55): time 0.00168/0.1799, allocations: 0.8559 MB / 0.9295 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.1799, allocations: 63.84 kB / 0.9296 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.1803, allocations: 0.5662 MB / 0.9302 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.1804, allocations: 37.7 kB / 0.9302 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.1806, allocations: 469.7 kB / 0.9306 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1807, allocations: 194.3 kB / 0.9308 GB, free: 7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.1808, allocations: 130.5 kB / 0.931 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1809, allocations: 390.6 kB / 0.9313 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1811, allocations: 72.8 kB / 0.9314 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.1812, allocations: 260.6 kB / 0.9316 GB, free: 6.086 MB / 0.8855 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.1819, allocations: 0.5293 MB / 0.9322 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1819, allocations: 0 / 0.9322 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004694/0.1823, allocations: 397.6 kB / 0.9325 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1823, allocations: 14.12 kB / 0.9326 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1824, allocations: 7.938 kB / 0.9326 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.1825, allocations: 60.19 kB / 0.9326 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.1829, allocations: 174.6 kB / 0.9328 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.185, allocations: 3.59 MB / 0.9363 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.1854, allocations: 27.94 kB / 0.9363 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.1854, allocations: 19.98 kB / 0.9363 GB, free: 0.918 MB / 0.8855 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.1856, allocations: 160.5 kB / 0.9365 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.1857, allocations: 75.91 kB / 0.9366 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.053e-05/0.1858, allocations: 95.72 kB / 0.9366 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1858, allocations: 8 kB / 0.9367 GB, free: 0.5625 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1858, allocations: 3.969 kB / 0.9367 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003123/0.1861, allocations: 378.2 kB / 0.937 GB, free: 136 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.1874, allocations: 1.051 MB / 0.938 GB, free: 15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1874, allocations: 8.031 kB / 0.9381 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.1878, allocations: 166.6 kB / 0.9382 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.366e-05/0.1878, allocations: 23.69 kB / 0.9382 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.1878, allocations: 15.98 kB / 0.9383 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000612/0.1884, allocations: 1.237 MB / 0.9395 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1885, allocations: 7.938 kB / 0.9395 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.189, allocations: 0.6194 MB / 0.9401 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.1892, allocations: 115.5 kB / 0.9402 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.1893, allocations: 23.91 kB / 0.9402 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.1896, allocations: 35.95 kB / 0.9402 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.1896, allocations: 35.94 kB / 0.9403 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.1897, allocations: 31.97 kB / 0.9403 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000203/0.1899, allocations: 268.5 kB / 0.9406 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1899, allocations: 0 / 0.9406 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006007/0.1905, allocations: 303.9 kB / 0.9409 GB, free: 11.96 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002298/0.1907, allocations: 140.2 kB / 0.941 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005892/0.1913, allocations: 0.6297 MB / 0.9416 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/0.1913, allocations: 9 kB / 0.9416 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.1915, allocations: 264.6 kB / 0.9419 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.1931, allocations: 0.5558 MB / 0.9424 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.1954, allocations: 1.765 MB / 0.9441 GB, free: 8.477 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1956, allocations: 272.5 kB / 0.9444 GB, free: 8.191 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004244/0.196, allocations: 139 kB / 0.9445 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007936/0.1968, allocations: 421 kB / 0.9449 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of SimCode: time 1.062e-06/0.1968, allocations: 3.938 kB / 0.9449 GB, free: 7.629 MB / 0.9011 GB Notification: Performance of Templates: time 0.02638/0.2232, allocations: 21.23 MB / 0.9657 GB, free: 2.918 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.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: 5.766709876712412]