Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001245/0.001245, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009944/0.0009944, allocations: 173 kB / 23.02 MB, free: 1.551 MB / 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.9536/0.9536, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.141/2.141, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.691e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1432/0.1432, allocations: 151 MB / 1.026 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006337/0.1495, allocations: 3.839 MB / 1.029 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.1506, allocations: 59.56 kB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008978/0.1515, allocations: 289.8 kB / 1.03 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.1535, allocations: 1.177 MB / 1.031 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.1552, allocations: 0.8964 MB / 1.032 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002888/0.1581, allocations: 2.989 MB / 1.035 GB, free: 5.496 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.1592, allocations: 0.8441 MB / 1.036 GB, free: 4.629 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.1616, allocations: 1.569 MB / 1.037 GB, free: 3.086 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.1628, allocations: 0.9076 MB / 1.038 GB, free: 2.176 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.163, allocations: 124 kB / 1.038 GB, free: 2.055 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008977/0.1639, allocations: 423.1 kB / 1.038 GB, free: 1.641 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.1643, allocations: 0.6156 MB / 1.039 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.1648, allocations: 0.5185 MB / 1.04 GB, free: 0.5039 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1662, allocations: 1.347 MB / 1.041 GB, free: 15.15 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1662, allocations: 0 / 1.041 GB, free: 15.15 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1662, allocations: 0 / 1.041 GB, free: 15.15 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.275e-05/0.1662, allocations: 4 kB / 1.041 GB, free: 15.15 MB / 1.01 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.001713/0.168, allocations: 1.608 MB / 1.042 GB, free: 13.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.168, allocations: 8.031 kB / 1.042 GB, free: 13.49 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.1691, allocations: 435.3 kB / 1.043 GB, free: 13.07 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009155/0.17, allocations: 0.8241 MB / 1.044 GB, free: 12.21 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.1701, allocations: 78.12 kB / 1.044 GB, free: 12.14 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.1702, allocations: 104 kB / 1.044 GB, free: 12.04 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1712, allocations: 1.077 MB / 1.045 GB, free: 10.84 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.1712, allocations: 0 / 1.045 GB, free: 10.84 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/0.1713, allocations: 40 kB / 1.045 GB, free: 10.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.1713, allocations: 41.98 kB / 1.045 GB, free: 10.76 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.1719, allocations: 407.6 kB / 1.045 GB, free: 10.36 MB / 1.01 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.003256/0.1752, allocations: 2.48 MB / 1.048 GB, free: 7.832 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.1756, allocations: 349.2 kB / 1.048 GB, free: 7.477 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1758, allocations: 153.7 kB / 1.048 GB, free: 7.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.1759, allocations: 28.48 kB / 1.048 GB, free: 7.293 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.176, allocations: 49.83 kB / 1.048 GB, free: 7.234 MB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 1.793e-06/0.176, allocations: 0 / 1.048 GB, free: 7.234 MB / 1.01 GB Notification: Performance of matching and sorting (n=55): time 0.001985/0.178, allocations: 1.173 MB / 1.05 GB, free: 6.016 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.178, allocations: 59.91 kB / 1.05 GB, free: 5.945 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.1785, allocations: 0.6633 MB / 1.05 GB, free: 5.266 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.1786, allocations: 37.7 kB / 1.05 GB, free: 5.223 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.1788, allocations: 0.5885 MB / 1.051 GB, free: 4.625 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.179, allocations: 214.2 kB / 1.051 GB, free: 4.414 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.1791, allocations: 132.2 kB / 1.051 GB, free: 4.277 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1793, allocations: 0.5742 MB / 1.052 GB, free: 3.691 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1795, allocations: 97.94 kB / 1.052 GB, free: 3.598 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.1799, allocations: 352.6 kB / 1.052 GB, free: 3.172 MB / 1.01 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.0008403/0.1808, allocations: 0.6651 MB / 1.053 GB, free: 2.434 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1808, allocations: 0 / 1.053 GB, free: 2.434 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006723/0.1814, allocations: 0.5581 MB / 1.053 GB, free: 1.855 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1814, allocations: 13.81 kB / 1.053 GB, free: 1.844 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1815, allocations: 4 kB / 1.053 GB, free: 1.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.1816, allocations: 62.97 kB / 1.053 GB, free: 1.766 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.182, allocations: 160.3 kB / 1.054 GB, free: 1.609 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4806/0.6626, allocations: 5.257 MB / 1.059 GB, free: 72.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006288/0.6632, allocations: 25.52 kB / 1.059 GB, free: 72.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.6632, allocations: 26.75 kB / 1.059 GB, free: 72.74 MB / 1.01 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.0002889/0.6635, allocations: 203.2 kB / 1.059 GB, free: 72.58 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.6636, allocations: 110.7 kB / 1.059 GB, free: 72.57 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.796e-05/0.6637, allocations: 89.05 kB / 1.059 GB, free: 72.56 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6637, allocations: 6.188 kB / 1.059 GB, free: 72.56 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.6637, allocations: 4.938 kB / 1.059 GB, free: 72.56 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004208/0.6641, allocations: 471.8 kB / 1.06 GB, free: 72.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.6656, allocations: 1.409 MB / 1.061 GB, free: 71.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.6656, allocations: 8.438 kB / 1.061 GB, free: 71.83 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.6659, allocations: 134.4 kB / 1.061 GB, free: 71.83 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.273e-05/0.666, allocations: 25.53 kB / 1.061 GB, free: 71.82 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.666, allocations: 20.52 kB / 1.061 GB, free: 71.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004767/0.6665, allocations: 1.789 MB / 1.063 GB, free: 70.11 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6665, allocations: 8.938 kB / 1.063 GB, free: 70.11 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.6671, allocations: 0.7572 MB / 1.064 GB, free: 69.74 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.6673, allocations: 153.2 kB / 1.064 GB, free: 69.74 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.6674, allocations: 19.59 kB / 1.064 GB, free: 69.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.6677, allocations: 29.33 kB / 1.064 GB, free: 69.74 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.6677, allocations: 52.53 kB / 1.064 GB, free: 69.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.6678, allocations: 31.81 kB / 1.064 GB, free: 69.74 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002693/0.6681, allocations: 427.1 kB / 1.064 GB, free: 69.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6681, allocations: 1.859 kB / 1.064 GB, free: 69.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000591/0.6687, allocations: 305.9 kB / 1.065 GB, free: 69.6 MB / 1.01 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.0002262/0.6689, allocations: 149.3 kB / 1.065 GB, free: 69.51 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006532/0.6695, allocations: 0.8547 MB / 1.066 GB, free: 68.99 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6695, allocations: 0 / 1.066 GB, free: 68.99 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.6698, allocations: 361.2 kB / 1.066 GB, free: 68.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.671, allocations: 0.5257 MB / 1.066 GB, free: 68.79 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.673, allocations: 1.833 MB / 1.068 GB, free: 67.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.6731, allocations: 281.2 kB / 1.069 GB, free: 67.82 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000434/0.6736, allocations: 190.1 kB / 1.069 GB, free: 67.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.6737, allocations: 75.81 kB / 1.069 GB, free: 67.8 MB / 1.01 GB Notification: Performance of SimCode: time 9.41e-07/0.6737, allocations: 1.031 kB / 1.069 GB, free: 67.8 MB / 1.01 GB Notification: Performance of Templates: time 0.02253/0.6962, allocations: 20.86 MB / 1.089 GB, free: 65.89 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.501923703122884]