Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001008/0.001008, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001004/0.001004, allocations: 169 kB / 23.27 MB, free: 1.223 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.9463/0.9463, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.383/2.383, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.15e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1376/0.1376, allocations: 146.9 MB / 1.033 GB, free: 6.289 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003765/0.1414, allocations: 3.188 MB / 1.036 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.1418, allocations: 47.62 kB / 1.036 GB, free: 3.047 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006713/0.1425, allocations: 246.2 kB / 1.037 GB, free: 2.805 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.1436, allocations: 0.8857 MB / 1.037 GB, free: 1.914 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008347/0.1444, allocations: 0.6937 MB / 1.038 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.146, allocations: 2.011 MB / 1.04 GB, free: 15.2 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000565/0.1466, allocations: 0.6074 MB / 1.041 GB, free: 14.57 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.148, allocations: 1.109 MB / 1.042 GB, free: 13.5 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005403/0.1485, allocations: 0.5998 MB / 1.042 GB, free: 12.9 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.1486, allocations: 80 kB / 1.042 GB, free: 12.82 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.1492, allocations: 383.1 kB / 1.043 GB, free: 12.45 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.1495, allocations: 422.8 kB / 1.043 GB, free: 12.03 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.1497, allocations: 351.2 kB / 1.044 GB, free: 11.69 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.1506, allocations: 0.9616 MB / 1.044 GB, free: 10.72 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1506, allocations: 0 / 1.044 GB, free: 10.72 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1506, allocations: 0 / 1.044 GB, free: 10.72 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.1506, allocations: 0 / 1.044 GB, free: 10.72 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001142/0.1518, allocations: 1.258 MB / 1.046 GB, free: 9.422 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1518, allocations: 12.61 kB / 1.046 GB, free: 9.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000628/0.1525, allocations: 275.9 kB / 1.046 GB, free: 9.141 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.1531, allocations: 0.6098 MB / 1.047 GB, free: 8.496 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.1531, allocations: 62.12 kB / 1.047 GB, free: 8.438 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.1532, allocations: 79.95 kB / 1.047 GB, free: 8.359 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.1538, allocations: 0.8264 MB / 1.048 GB, free: 7.391 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.1539, allocations: 11.94 kB / 1.048 GB, free: 7.379 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.1539, allocations: 31.98 kB / 1.048 GB, free: 7.348 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.1539, allocations: 25.31 kB / 1.048 GB, free: 7.32 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.1542, allocations: 253.9 kB / 1.048 GB, free: 7.074 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.002781/0.157, allocations: 4.645 MB / 1.052 GB, free: 2.266 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.1573, allocations: 282.5 kB / 1.053 GB, free: 1.953 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1574, allocations: 120.7 kB / 1.053 GB, free: 1.824 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-05/0.1575, allocations: 32.31 kB / 1.053 GB, free: 1.793 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1575, allocations: 41.72 kB / 1.053 GB, free: 1.742 MB / 1.01 GB Notification: Performance of pre-optimization done (n=42): time 1.714e-06/0.1575, allocations: 0 / 1.053 GB, free: 1.742 MB / 1.01 GB Notification: Performance of matching and sorting (n=44): time 0.001107/0.1586, allocations: 0.7101 MB / 1.054 GB, free: 0.9883 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.1587, allocations: 114.7 kB / 1.054 GB, free: 0.8516 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.1593, allocations: 0.5375 MB / 1.054 GB, free: 308 kB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.1594, allocations: 37.7 kB / 1.054 GB, free: 264 kB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.4887/0.648, allocations: 483.7 kB / 1.055 GB, free: 69.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.6483, allocations: 182.3 kB / 1.055 GB, free: 69.64 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.6484, allocations: 123.5 kB / 1.055 GB, free: 69.61 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6485, allocations: 0.5546 MB / 1.055 GB, free: 69.12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.6486, allocations: 54.66 kB / 1.056 GB, free: 69.12 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.6488, allocations: 489.9 kB / 1.056 GB, free: 68.6 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.6494, allocations: 0.5536 MB / 1.057 GB, free: 68.27 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.6494, allocations: 1.781 kB / 1.057 GB, free: 68.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004999/0.6499, allocations: 443.4 kB / 1.057 GB, free: 68.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6499, allocations: 8.5 kB / 1.057 GB, free: 68.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6499, allocations: 5.25 kB / 1.057 GB, free: 68.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.65, allocations: 11.22 kB / 1.057 GB, free: 68.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.6502, allocations: 122.5 kB / 1.057 GB, free: 68.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.6502, allocations: 17.48 kB / 1.057 GB, free: 68.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.6505, allocations: 24.41 kB / 1.057 GB, free: 68.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.6506, allocations: 24.5 kB / 1.057 GB, free: 68.2 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.6508, allocations: 201.5 kB / 1.057 GB, free: 68.04 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-05/0.6508, allocations: 88.05 kB / 1.057 GB, free: 68 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.6509, allocations: 75.95 kB / 1.058 GB, free: 67.99 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6509, allocations: 6.188 kB / 1.058 GB, free: 67.99 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.6509, allocations: 0 / 1.058 GB, free: 67.99 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000261/0.6512, allocations: 0.5108 MB / 1.058 GB, free: 67.54 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.6523, allocations: 1.242 MB / 1.059 GB, free: 66.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6523, allocations: 5.562 kB / 1.059 GB, free: 66.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.6525, allocations: 97.33 kB / 1.059 GB, free: 66.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.6525, allocations: 5.844 kB / 1.059 GB, free: 66.84 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.6526, allocations: 15.75 kB / 1.059 GB, free: 66.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.6526, allocations: 9.875 kB / 1.059 GB, free: 66.84 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.6526, allocations: 10.03 kB / 1.059 GB, free: 66.84 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.653, allocations: 0.6205 MB / 1.06 GB, free: 66.42 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.6531, allocations: 101.9 kB / 1.06 GB, free: 66.39 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.6531, allocations: 17.09 kB / 1.06 GB, free: 66.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.6533, allocations: 14.91 kB / 1.06 GB, free: 66.39 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.6534, allocations: 44.84 kB / 1.06 GB, free: 66.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.6534, allocations: 14.47 kB / 1.06 GB, free: 66.38 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001635/0.6535, allocations: 326.2 kB / 1.06 GB, free: 66.25 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6535, allocations: 1.031 kB / 1.06 GB, free: 66.25 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004721/0.654, allocations: 209.1 kB / 1.061 GB, free: 66.25 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002911/0.6543, allocations: 175.3 kB / 1.061 GB, free: 66.16 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.6546, allocations: 271.4 kB / 1.061 GB, free: 66.14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6546, allocations: 0 / 1.061 GB, free: 66.14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.6547, allocations: 129.2 kB / 1.061 GB, free: 66.12 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.6555, allocations: 334.2 kB / 1.062 GB, free: 66.12 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.6571, allocations: 1.47 MB / 1.063 GB, free: 65.33 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.6572, allocations: 210.9 kB / 1.063 GB, free: 65.26 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002856/0.6575, allocations: 102.5 kB / 1.063 GB, free: 65.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.6579, allocations: 332.3 kB / 1.064 GB, free: 65.18 MB / 1.01 GB Notification: Performance of SimCode: time 1.022e-06/0.6579, allocations: 2.078 kB / 1.064 GB, free: 65.18 MB / 1.01 GB Notification: Performance of Templates: time 0.01458/0.6725, allocations: 12.83 MB / 1.076 GB, free: 64.25 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.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.420975568238646]