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.001095/0.001095, 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.001251/0.001251, allocations: 165 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 0.945/0.945, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.906/1.906, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.693e-06/1.693e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.989e-05, allocations: 5.953 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1321/0.1321, allocations: 150.3 MB / 0.9068 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006219/0.1384, allocations: 3.917 MB / 0.9106 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.1394, allocations: 59.5 kB / 0.9107 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.1401, allocations: 289.8 kB / 0.911 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.1421, allocations: 1.177 MB / 0.9121 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.1437, allocations: 0.8965 MB / 0.913 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002842/0.1465, allocations: 2.985 MB / 0.9159 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.1478, allocations: 0.8537 MB / 0.9167 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.1503, allocations: 1.567 MB / 0.9183 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.1514, allocations: 0.8687 MB / 0.9191 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.1517, allocations: 120 kB / 0.9192 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007406/0.1524, allocations: 423.1 kB / 0.9196 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.1529, allocations: 0.6195 MB / 0.9202 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005252/0.1534, allocations: 0.5185 MB / 0.9207 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.1548, allocations: 1.339 MB / 0.9221 GB, free: 324 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1548, allocations: 0 / 0.9221 GB, free: 324 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1548, allocations: 4 kB / 0.9221 GB, free: 320 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.1548, allocations: 3.938 kB / 0.9221 GB, free: 316 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.001613/0.1564, allocations: 1.433 MB / 0.9235 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1564, allocations: 8.031 kB / 0.9235 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.1578, allocations: 411.9 kB / 0.9239 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.159, allocations: 0.6914 MB / 0.9245 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.1591, allocations: 74.12 kB / 0.9246 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.1592, allocations: 108 kB / 0.9247 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.1603, allocations: 1.058 MB / 0.9257 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.1604, allocations: 0 / 0.9257 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.1604, allocations: 44 kB / 0.9258 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-05/0.1605, allocations: 37.94 kB / 0.9258 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.161, allocations: 273.8 kB / 0.9261 GB, free: 12 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.003482/0.1645, allocations: 2.051 MB / 0.9281 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.1649, allocations: 332.4 kB / 0.9284 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.1651, allocations: 117.7 kB / 0.9285 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.1652, allocations: 32.48 kB / 0.9285 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1652, allocations: 39.06 kB / 0.9286 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=53): time 2.745e-06/0.1652, allocations: 0 / 0.9286 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of matching and sorting (n=55): time 0.001823/0.167, allocations: 0.8715 MB / 0.9294 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1671, allocations: 59.84 kB / 0.9295 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.1675, allocations: 0.5701 MB / 0.9301 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.1676, allocations: 41.7 kB / 0.9301 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.1679, allocations: 461.7 kB / 0.9305 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.1681, allocations: 198.3 kB / 0.9307 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.1682, allocations: 130.5 kB / 0.9308 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1684, allocations: 390.6 kB / 0.9312 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1685, allocations: 72.8 kB / 0.9313 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.1687, allocations: 268.5 kB / 0.9315 GB, free: 6.199 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.0007083/0.1694, allocations: 0.5176 MB / 0.932 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1694, allocations: 0 / 0.932 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005836/0.17, allocations: 405.1 kB / 0.9324 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1701, allocations: 8 kB / 0.9324 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1701, allocations: 7.938 kB / 0.9324 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/0.1702, allocations: 56.7 kB / 0.9325 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.1706, allocations: 155.8 kB / 0.9327 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.1727, allocations: 3.604 MB / 0.9362 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.1731, allocations: 23.88 kB / 0.9362 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.1731, allocations: 24 kB / 0.9362 GB, free: 1.047 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.0002304/0.1734, allocations: 152.7 kB / 0.9364 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1735, allocations: 71.92 kB / 0.9364 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.1736, allocations: 95.72 kB / 0.9365 GB, free: 0.7109 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1736, allocations: 8 kB / 0.9365 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1736, allocations: 3.938 kB / 0.9365 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003635/0.174, allocations: 374.1 kB / 0.9369 GB, free: 284 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.1757, allocations: 1.055 MB / 0.9379 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1757, allocations: 4 kB / 0.9379 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.1761, allocations: 131.8 kB / 0.9381 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.048e-05/0.1762, allocations: 23.67 kB / 0.9381 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.1762, allocations: 20.39 kB / 0.9381 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007055/0.1769, allocations: 1.244 MB / 0.9393 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1769, allocations: 7.938 kB / 0.9393 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.1776, allocations: 0.6193 MB / 0.9399 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.1778, allocations: 115.4 kB / 0.94 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-05/0.1779, allocations: 15.94 kB / 0.94 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.1783, allocations: 35.95 kB / 0.9401 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.1784, allocations: 47.86 kB / 0.9401 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.1784, allocations: 27.92 kB / 0.9402 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002572/0.1787, allocations: 272.5 kB / 0.9404 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1787, allocations: 0 / 0.9404 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007777/0.1794, allocations: 303.9 kB / 0.9407 GB, free: 12.12 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.0002671/0.1797, allocations: 140.2 kB / 0.9408 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006963/0.1804, allocations: 0.6268 MB / 0.9414 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/0.1804, allocations: 12 kB / 0.9415 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.1807, allocations: 264.2 kB / 0.9417 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.1822, allocations: 0.5546 MB / 0.9423 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.185, allocations: 1.768 MB / 0.944 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1852, allocations: 268.6 kB / 0.9442 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005209/0.1857, allocations: 151 kB / 0.9444 GB, free: 8.203 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000928/0.1866, allocations: 417 kB / 0.9448 GB, free: 7.789 MB / 0.9011 GB Notification: Performance of SimCode: time 1.583e-06/0.1866, allocations: 0 / 0.9448 GB, free: 7.789 MB / 0.9011 GB Notification: Performance of Templates: time 0.03024/0.2169, allocations: 21.23 MB / 0.9655 GB, free: 3.09 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 -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.680382838938385]