Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00113/0.00113, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001055/0.001055, allocations: 161.4 kB / 24.86 MB, free: 9.289 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.9616/0.9616, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.892/1.892, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.605e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1279/0.1279, allocations: 146.9 MB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004702/0.1327, allocations: 3.214 MB / 0.9594 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005266/0.1332, allocations: 43.62 kB / 0.9594 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.1339, allocations: 250.1 kB / 0.9597 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.1352, allocations: 0.8857 MB / 0.9605 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.1362, allocations: 0.7015 MB / 0.9612 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001873/0.1381, allocations: 2.011 MB / 0.9632 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000664/0.1387, allocations: 0.6334 MB / 0.9638 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.1403, allocations: 1.136 MB / 0.9649 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.1409, allocations: 0.5843 MB / 0.9655 GB, free: 4.633 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.283e-05/0.141, allocations: 80 kB / 0.9655 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000587/0.1416, allocations: 395 kB / 0.9659 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.1418, allocations: 414.9 kB / 0.9663 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.1421, allocations: 355.2 kB / 0.9667 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1431, allocations: 0.9615 MB / 0.9676 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1431, allocations: 0 / 0.9676 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1431, allocations: 0 / 0.9676 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.1431, allocations: 0 / 0.9676 GB, free: 2.445 MB / 0.9167 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.001145/0.1443, allocations: 1.262 MB / 0.9688 GB, free: 1.141 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1443, allocations: 8.031 kB / 0.9688 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/0.145, allocations: 279.9 kB / 0.9691 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/0.1457, allocations: 0.6136 MB / 0.9697 GB, free: 220 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.1457, allocations: 62.12 kB / 0.9698 GB, free: 160 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.1458, allocations: 83.94 kB / 0.9698 GB, free: 76 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/0.1465, allocations: 0.8303 MB / 0.9707 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.1465, allocations: 0 / 0.9707 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.1465, allocations: 32 kB / 0.9707 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.1466, allocations: 25.31 kB / 0.9707 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.1469, allocations: 257.8 kB / 0.971 GB, free: 14.79 MB / 0.9323 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.002615/0.1495, allocations: 4.642 MB / 0.9755 GB, free: 9.984 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.1501, allocations: 278.5 kB / 0.9758 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1502, allocations: 111.6 kB / 0.9759 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.963e-05/0.1503, allocations: 28.31 kB / 0.9759 GB, free: 9.527 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1503, allocations: 45.72 kB / 0.9759 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=42): time 1.754e-06/0.1503, allocations: 0 / 0.9759 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44): time 0.001313/0.1516, allocations: 0.7147 MB / 0.9766 GB, free: 8.719 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1516, allocations: 110.8 kB / 0.9767 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.152, allocations: 0.5414 MB / 0.9773 GB, free: 8.031 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.152, allocations: 37.7 kB / 0.9773 GB, free: 7.988 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.1522, allocations: 494.6 kB / 0.9778 GB, free: 7.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.468e-05/0.1523, allocations: 174.6 kB / 0.9779 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.1524, allocations: 115.9 kB / 0.978 GB, free: 7.207 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1526, allocations: 0.5662 MB / 0.9786 GB, free: 6.629 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.1527, allocations: 57.25 kB / 0.9787 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.1529, allocations: 489.5 kB / 0.9791 GB, free: 5.938 MB / 0.9323 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.0005177/0.1535, allocations: 0.5555 MB / 0.9797 GB, free: 5.266 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1535, allocations: 0 / 0.9797 GB, free: 5.266 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000442/0.1539, allocations: 444.5 kB / 0.9801 GB, free: 4.824 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1539, allocations: 12.12 kB / 0.9801 GB, free: 4.812 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1539, allocations: 4 kB / 0.9801 GB, free: 4.809 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1539, allocations: 12 kB / 0.9801 GB, free: 4.797 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.1542, allocations: 123.8 kB / 0.9802 GB, free: 4.676 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1542, allocations: 8 kB / 0.9802 GB, free: 4.668 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.1544, allocations: 27.98 kB / 0.9803 GB, free: 4.641 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.1545, allocations: 20 kB / 0.9803 GB, free: 4.621 MB / 0.9323 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.0001709/0.1546, allocations: 204.3 kB / 0.9805 GB, free: 4.41 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1547, allocations: 83.58 kB / 0.9806 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.455e-05/0.1548, allocations: 74.25 kB / 0.9806 GB, free: 4.25 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1548, allocations: 4.062 kB / 0.9806 GB, free: 4.246 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1548, allocations: 11.98 kB / 0.9806 GB, free: 4.234 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000317/0.1552, allocations: 0.5072 MB / 0.9811 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.1566, allocations: 1.249 MB / 0.9824 GB, free: 2.289 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1566, allocations: 7.938 kB / 0.9824 GB, free: 2.281 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.1568, allocations: 99.83 kB / 0.9825 GB, free: 2.184 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1568, allocations: 4 kB / 0.9825 GB, free: 2.18 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.1569, allocations: 12 kB / 0.9825 GB, free: 2.168 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1569, allocations: 7.984 kB / 0.9825 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1569, allocations: 11.94 kB / 0.9825 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.1574, allocations: 0.6349 MB / 0.9831 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.1575, allocations: 99.47 kB / 0.9832 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/0.1575, allocations: 19.98 kB / 0.9832 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1577, allocations: 12.66 kB / 0.9832 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.1578, allocations: 39.83 kB / 0.9833 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1578, allocations: 19.98 kB / 0.9833 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001846/0.158, allocations: 330.6 kB / 0.9836 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.158, allocations: 0 / 0.9836 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004456/0.1584, allocations: 203.9 kB / 0.9838 GB, free: 0.7188 MB / 0.9323 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.0003396/0.1587, allocations: 164.6 kB / 0.984 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.1591, allocations: 272.9 kB / 0.9842 GB, free: 292 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1591, allocations: 0 / 0.9842 GB, free: 292 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1592, allocations: 133.9 kB / 0.9844 GB, free: 156 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.1601, allocations: 345.5 kB / 0.9847 GB, free: 15.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1618, allocations: 1.48 MB / 0.9861 GB, free: 14.24 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.162, allocations: 210.4 kB / 0.9863 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.1622, allocations: 93.42 kB / 0.9864 GB, free: 13.92 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.1627, allocations: 330 kB / 0.9867 GB, free: 13.6 MB / 0.948 GB Notification: Performance of SimCode: time 8.02e-07/0.1627, allocations: 4 kB / 0.9867 GB, free: 13.59 MB / 0.948 GB Notification: Performance of Templates: time 0.01633/0.1791, allocations: 13.09 MB / 0.9995 GB, free: 0.8828 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.524946071207523]