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.001311/0.001311, allocations: 73.88 kB / 20.65 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.001117/0.001117, allocations: 169 kB / 24.06 MB, free: 452 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.035/1.035, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.211/2.211, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.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 2.154e-06/2.154e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.561e-05, allocations: 4.844 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1377/0.1377, allocations: 146.9 MB / 1.023 GB, free: 2.625 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005033/0.1428, allocations: 3.205 MB / 1.026 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007476/0.1435, allocations: 43.62 kB / 1.026 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000772/0.1443, allocations: 246.2 kB / 1.026 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.1458, allocations: 0.8857 MB / 1.027 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1471, allocations: 0.6976 MB / 1.028 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002139/0.1492, allocations: 1.992 MB / 1.03 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008787/0.1501, allocations: 0.6152 MB / 1.03 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.1521, allocations: 1.126 MB / 1.031 GB, free: 9.809 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007663/0.1529, allocations: 0.5959 MB / 1.032 GB, free: 9.211 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.153, allocations: 80 kB / 1.032 GB, free: 9.133 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007268/0.1537, allocations: 383.1 kB / 1.032 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.154, allocations: 422.8 kB / 1.033 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.1544, allocations: 351.2 kB / 1.033 GB, free: 8 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.1556, allocations: 0.9616 MB / 1.034 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1556, allocations: 4 kB / 1.034 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1556, allocations: 0 / 1.034 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.1556, allocations: 0 / 1.034 GB, free: 7.031 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001272/0.1569, allocations: 1.247 MB / 1.035 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1569, allocations: 12.03 kB / 1.035 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/0.1576, allocations: 287.8 kB / 1.036 GB, free: 5.449 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.1583, allocations: 0.602 MB / 1.036 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.1583, allocations: 62.12 kB / 1.036 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.1584, allocations: 79.94 kB / 1.036 GB, free: 4.676 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.1591, allocations: 0.8264 MB / 1.037 GB, free: 3.703 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.1591, allocations: 7.938 kB / 1.037 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.1592, allocations: 32 kB / 1.037 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.1592, allocations: 29.31 kB / 1.037 GB, free: 3.637 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.1595, allocations: 249.9 kB / 1.037 GB, free: 3.391 MB / 0.9948 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.002809/0.1623, allocations: 4.642 MB / 1.042 GB, free: 14.59 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.1627, allocations: 274.5 kB / 1.042 GB, free: 14.28 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1628, allocations: 125.8 kB / 1.042 GB, free: 14.15 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.163, allocations: 36.23 kB / 1.042 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.163, allocations: 41.72 kB / 1.042 GB, free: 14.06 MB / 1.01 GB Notification: Performance of pre-optimization done (n=42): time 1.914e-06/0.163, allocations: 0 / 1.042 GB, free: 14.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=44): time 0.001227/0.1642, allocations: 0.7147 MB / 1.043 GB, free: 13.31 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.1643, allocations: 118.6 kB / 1.043 GB, free: 13.17 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.1646, allocations: 0.5294 MB / 1.044 GB, free: 12.62 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.1647, allocations: 37.7 kB / 1.044 GB, free: 12.58 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.1649, allocations: 494.7 kB / 1.044 GB, free: 12.09 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.165, allocations: 174.6 kB / 1.044 GB, free: 11.92 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1651, allocations: 124.2 kB / 1.045 GB, free: 11.79 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1653, allocations: 0.5546 MB / 1.045 GB, free: 11.22 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.671e-05/0.1654, allocations: 57.2 kB / 1.045 GB, free: 11.17 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.1656, allocations: 485.6 kB / 1.046 GB, free: 10.54 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.000539/0.1662, allocations: 0.5572 MB / 1.046 GB, free: 9.859 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1662, allocations: 0 / 1.046 GB, free: 9.859 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004481/0.1666, allocations: 444.9 kB / 1.047 GB, free: 9.418 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1666, allocations: 8 kB / 1.047 GB, free: 9.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1666, allocations: 4 kB / 1.047 GB, free: 9.406 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1666, allocations: 12.75 kB / 1.047 GB, free: 9.395 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.1669, allocations: 127.9 kB / 1.047 GB, free: 9.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1669, allocations: 15.94 kB / 1.047 GB, free: 9.254 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.1672, allocations: 31.92 kB / 1.047 GB, free: 9.223 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.1672, allocations: 24 kB / 1.047 GB, free: 9.199 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.0001761/0.1674, allocations: 200.3 kB / 1.047 GB, free: 8.992 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1675, allocations: 83.58 kB / 1.047 GB, free: 8.91 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.796e-05/0.1676, allocations: 70.09 kB / 1.047 GB, free: 8.84 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1676, allocations: 8 kB / 1.047 GB, free: 8.832 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1676, allocations: 0 / 1.047 GB, free: 8.832 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003551/0.1679, allocations: 0.5112 MB / 1.048 GB, free: 8.234 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.1693, allocations: 1.242 MB / 1.049 GB, free: 6.891 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1693, allocations: 12 kB / 1.049 GB, free: 6.879 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.1696, allocations: 91.89 kB / 1.049 GB, free: 6.789 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.1696, allocations: 11.94 kB / 1.049 GB, free: 6.777 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.1697, allocations: 19.98 kB / 1.049 GB, free: 6.758 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.1697, allocations: 7.938 kB / 1.049 GB, free: 6.75 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.1697, allocations: 7.984 kB / 1.049 GB, free: 6.742 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/0.1704, allocations: 0.615 MB / 1.05 GB, free: 6.039 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.1705, allocations: 107.5 kB / 1.05 GB, free: 5.934 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/0.1706, allocations: 19.98 kB / 1.05 GB, free: 5.914 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.1709, allocations: 12 kB / 1.05 GB, free: 5.902 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.1709, allocations: 51.89 kB / 1.05 GB, free: 5.852 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.171, allocations: 12 kB / 1.05 GB, free: 5.84 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002457/0.1712, allocations: 326.7 kB / 1.05 GB, free: 5.523 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1712, allocations: 0 / 1.05 GB, free: 5.523 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006511/0.1719, allocations: 203.9 kB / 1.05 GB, free: 5.324 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.0003517/0.1722, allocations: 176.5 kB / 1.051 GB, free: 5.156 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004169/0.1726, allocations: 274.6 kB / 1.051 GB, free: 4.887 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.1726, allocations: 4 kB / 1.051 GB, free: 4.883 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1728, allocations: 119.3 kB / 1.051 GB, free: 4.762 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.1739, allocations: 330.7 kB / 1.051 GB, free: 4.441 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.1761, allocations: 1.48 MB / 1.053 GB, free: 2.855 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.1763, allocations: 206.4 kB / 1.053 GB, free: 2.633 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003573/0.1767, allocations: 97.33 kB / 1.053 GB, free: 2.535 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005731/0.1772, allocations: 330 kB / 1.053 GB, free: 2.211 MB / 1.01 GB Notification: Performance of SimCode: time 1.052e-06/0.1772, allocations: 0 / 1.053 GB, free: 2.211 MB / 1.01 GB Notification: Performance of Templates: time 0.401/0.5783, allocations: 13.01 MB / 1.066 GB, free: 79.81 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.481424513738602]