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.0009902/0.0009902, allocations: 77.09 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.001184/0.001184, 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.136/2.136, allocations: 429.5 MB / 0.6743 GB, free: 3.891 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.843e-06/1.843e-06, allocations: 0 / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.487e-05, allocations: 6.438 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1458/0.1458, allocations: 148.2 MB / 1.024 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007054/0.1529, allocations: 3.829 MB / 1.028 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009777/0.1538, allocations: 55.56 kB / 1.028 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000816/0.1547, allocations: 293.8 kB / 1.028 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.1571, allocations: 1.169 MB / 1.029 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.1589, allocations: 0.8964 MB / 1.03 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00318/0.1621, allocations: 2.991 MB / 1.033 GB, free: 8.016 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.1633, allocations: 0.8441 MB / 1.034 GB, free: 7.148 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.1661, allocations: 1.568 MB / 1.035 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.1673, allocations: 0.9037 MB / 1.036 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.1675, allocations: 120 kB / 1.036 GB, free: 4.582 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007668/0.1683, allocations: 431 kB / 1.037 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005164/0.1688, allocations: 0.6156 MB / 1.038 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006259/0.1694, allocations: 0.5184 MB / 1.038 GB, free: 3.023 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.1711, allocations: 1.347 MB / 1.039 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1711, allocations: 0 / 1.039 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1711, allocations: 0 / 1.039 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.165e-05/0.1711, allocations: 4 kB / 1.039 GB, free: 1.668 MB / 0.9948 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.001935/0.1731, allocations: 1.596 MB / 1.041 GB, free: 32 kB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1731, allocations: 8.031 kB / 1.041 GB, free: 24 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.1745, allocations: 435.3 kB / 1.041 GB, free: 15.6 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.1756, allocations: 0.8006 MB / 1.042 GB, free: 14.77 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.1757, allocations: 78.12 kB / 1.042 GB, free: 14.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.1758, allocations: 108 kB / 1.042 GB, free: 14.59 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.1769, allocations: 1.004 MB / 1.043 GB, free: 13.46 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1769, allocations: 0 / 1.043 GB, free: 13.46 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.177, allocations: 44 kB / 1.043 GB, free: 13.42 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.177, allocations: 34 kB / 1.043 GB, free: 13.39 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.1776, allocations: 325.6 kB / 1.044 GB, free: 13.07 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.003064/0.1806, allocations: 2.46 MB / 1.046 GB, free: 10.56 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.181, allocations: 321.2 kB / 1.046 GB, free: 10.23 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1811, allocations: 134.1 kB / 1.046 GB, free: 10.09 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.95e-05/0.1812, allocations: 28.42 kB / 1.047 GB, free: 10.07 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1812, allocations: 45.89 kB / 1.047 GB, free: 10.01 MB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 1.914e-06/0.1812, allocations: 0 / 1.047 GB, free: 10.01 MB / 1.01 GB Notification: Performance of matching and sorting (n=55): time 0.001468/0.1827, allocations: 0.9555 MB / 1.047 GB, free: 9.012 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.1827, allocations: 55.91 kB / 1.048 GB, free: 8.945 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.1831, allocations: 0.6474 MB / 1.048 GB, free: 8.285 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.1832, allocations: 45.7 kB / 1.048 GB, free: 8.234 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.1836, allocations: 0.6 MB / 1.049 GB, free: 7.625 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.1837, allocations: 210.2 kB / 1.049 GB, free: 7.418 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.1838, allocations: 140.2 kB / 1.049 GB, free: 7.273 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.184, allocations: 0.5702 MB / 1.05 GB, free: 6.691 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1841, allocations: 81.86 kB / 1.05 GB, free: 6.613 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.1843, allocations: 332.6 kB / 1.05 GB, free: 6.207 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.0006233/0.1849, allocations: 0.587 MB / 1.051 GB, free: 5.547 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1849, allocations: 0 / 1.051 GB, free: 5.547 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005512/0.1855, allocations: 0.5112 MB / 1.051 GB, free: 5.016 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1855, allocations: 7.938 kB / 1.051 GB, free: 5.008 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1855, allocations: 4 kB / 1.051 GB, free: 5.004 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001037/0.1856, allocations: 66.97 kB / 1.051 GB, free: 4.926 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.1859, allocations: 148.3 kB / 1.051 GB, free: 4.781 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5581/0.7441, allocations: 5.179 MB / 1.056 GB, free: 77.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.7448, allocations: 30.73 kB / 1.056 GB, free: 77.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.7448, allocations: 18.19 kB / 1.056 GB, free: 77.89 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.0003477/0.7452, allocations: 208.9 kB / 1.057 GB, free: 77.73 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.7453, allocations: 108.7 kB / 1.057 GB, free: 77.73 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.182e-05/0.7454, allocations: 90.72 kB / 1.057 GB, free: 77.71 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.7454, allocations: 8.719 kB / 1.057 GB, free: 77.71 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7454, allocations: 0.6875 kB / 1.057 GB, free: 77.71 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003812/0.7458, allocations: 441.1 kB / 1.057 GB, free: 77.45 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.7473, allocations: 1.208 MB / 1.058 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.7473, allocations: 4.344 kB / 1.058 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.7476, allocations: 133.1 kB / 1.059 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.669e-05/0.7477, allocations: 23.39 kB / 1.059 GB, free: 77 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.7477, allocations: 19.59 kB / 1.059 GB, free: 77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006075/0.7483, allocations: 1.762 MB / 1.06 GB, free: 75.32 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7483, allocations: 2.75 kB / 1.06 GB, free: 75.32 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000649/0.749, allocations: 0.7169 MB / 1.061 GB, free: 74.95 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.7492, allocations: 142.7 kB / 1.061 GB, free: 74.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.7493, allocations: 15 kB / 1.061 GB, free: 74.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.7496, allocations: 34.42 kB / 1.061 GB, free: 74.95 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.7497, allocations: 48.05 kB / 1.061 GB, free: 74.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.7497, allocations: 35.19 kB / 1.061 GB, free: 74.95 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002437/0.75, allocations: 393.3 kB / 1.062 GB, free: 74.81 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.75, allocations: 0 / 1.062 GB, free: 74.81 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007897/0.7507, allocations: 304.2 kB / 1.062 GB, free: 74.81 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.0002957/0.751, allocations: 155 kB / 1.062 GB, free: 74.72 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006517/0.7517, allocations: 0.8104 MB / 1.063 GB, free: 74.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.7517, allocations: 0 / 1.063 GB, free: 74.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.7519, allocations: 346 kB / 1.063 GB, free: 74.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.7532, allocations: 0.524 MB / 1.064 GB, free: 74 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.7555, allocations: 1.829 MB / 1.066 GB, free: 73.11 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.7556, allocations: 279.7 kB / 1.066 GB, free: 73.04 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005021/0.7561, allocations: 145 kB / 1.066 GB, free: 73.01 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007372/0.7569, allocations: 494.2 kB / 1.066 GB, free: 72.95 MB / 1.01 GB Notification: Performance of SimCode: time 1.723e-06/0.7569, allocations: 3.656 kB / 1.066 GB, free: 72.95 MB / 1.01 GB Notification: Performance of Templates: time 0.02922/0.7861, allocations: 21.57 MB / 1.088 GB, free: 71.09 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.943063021171838]