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.001028/0.001028, 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.0009802/0.0009802, allocations: 169.3 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.9551/0.9551, allocations: 177.2 MB / 203.4 MB, free: 5.645 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 1.994/1.994, allocations: 429.5 MB / 0.6733 GB, free: 4 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 1.863e-06/1.863e-06, allocations: 0 / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.326e-05, allocations: 3.25 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1426/0.1426, allocations: 149.7 MB / 1.024 GB, free: 92 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005085/0.1477, allocations: 3.219 MB / 1.028 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006783/0.1484, allocations: 43.62 kB / 1.028 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00082/0.1492, allocations: 250.1 kB / 1.028 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.1506, allocations: 0.8896 MB / 1.029 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1517, allocations: 0.6976 MB / 1.029 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.1534, allocations: 1.996 MB / 1.031 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006857/0.1541, allocations: 0.6113 MB / 1.032 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.1557, allocations: 1.125 MB / 1.033 GB, free: 7.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007857/0.1565, allocations: 0.5998 MB / 1.034 GB, free: 6.648 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.961e-05/0.1566, allocations: 83.98 kB / 1.034 GB, free: 6.566 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.1572, allocations: 379.1 kB / 1.034 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.1574, allocations: 418.8 kB / 1.034 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.1577, allocations: 351.2 kB / 1.035 GB, free: 5.441 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009616/0.1587, allocations: 0.9577 MB / 1.036 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1587, allocations: 0 / 1.036 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1587, allocations: 0 / 1.036 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.1587, allocations: 0 / 1.036 GB, free: 4.48 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.001196/0.1599, allocations: 1.262 MB / 1.037 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1599, allocations: 8.031 kB / 1.037 GB, free: 3.168 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006881/0.1606, allocations: 283.9 kB / 1.037 GB, free: 2.891 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.1613, allocations: 0.6254 MB / 1.038 GB, free: 2.234 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.1613, allocations: 58.12 kB / 1.038 GB, free: 2.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.1614, allocations: 80 kB / 1.038 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.1622, allocations: 0.8617 MB / 1.039 GB, free: 1.094 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.1622, allocations: 11.94 kB / 1.039 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.1622, allocations: 35.98 kB / 1.039 GB, free: 1.047 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.1623, allocations: 29.31 kB / 1.039 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.1627, allocations: 295.3 kB / 1.039 GB, free: 0.7305 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.002678/0.1654, allocations: 4.653 MB / 1.044 GB, free: 11.91 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.1658, allocations: 298.5 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1659, allocations: 134.7 kB / 1.044 GB, free: 11.45 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-05/0.166, allocations: 32.31 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.166, allocations: 45.72 kB / 1.044 GB, free: 11.36 MB / 1.01 GB Notification: Performance of pre-optimization done (n=42): time 1.663e-06/0.166, allocations: 0 / 1.044 GB, free: 11.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=44): time 0.001396/0.1674, allocations: 1.11 MB / 1.045 GB, free: 10.21 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.1675, allocations: 114.8 kB / 1.045 GB, free: 10.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.1678, allocations: 0.5415 MB / 1.046 GB, free: 9.52 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.1679, allocations: 37.7 kB / 1.046 GB, free: 9.477 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.1681, allocations: 486.8 kB / 1.046 GB, free: 8.996 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/0.1682, allocations: 166.6 kB / 1.047 GB, free: 8.832 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1683, allocations: 127.9 kB / 1.047 GB, free: 8.695 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.1686, allocations: 0.5508 MB / 1.047 GB, free: 8.133 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1687, allocations: 73.25 kB / 1.047 GB, free: 8.062 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.169, allocations: 0.4899 MB / 1.048 GB, free: 7.414 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.0006463/0.1696, allocations: 0.608 MB / 1.048 GB, free: 6.688 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1696, allocations: 0 / 1.048 GB, free: 6.688 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005119/0.1701, allocations: 473.7 kB / 1.049 GB, free: 6.219 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1702, allocations: 12 kB / 1.049 GB, free: 6.207 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1702, allocations: 8.094 kB / 1.049 GB, free: 6.199 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1702, allocations: 11.98 kB / 1.049 GB, free: 6.188 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.1704, allocations: 123.8 kB / 1.049 GB, free: 6.066 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1705, allocations: 15.94 kB / 1.049 GB, free: 6.051 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.1707, allocations: 31.88 kB / 1.049 GB, free: 6.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.1707, allocations: 28 kB / 1.049 GB, free: 5.992 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.0001554/0.1709, allocations: 200.3 kB / 1.049 GB, free: 5.785 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.171, allocations: 87.58 kB / 1.049 GB, free: 5.699 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.519e-05/0.171, allocations: 74.08 kB / 1.049 GB, free: 5.625 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1711, allocations: 7.938 kB / 1.049 GB, free: 5.617 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1711, allocations: 4 kB / 1.049 GB, free: 5.613 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003546/0.1714, allocations: 0.5307 MB / 1.05 GB, free: 4.996 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.1727, allocations: 1.39 MB / 1.051 GB, free: 3.496 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1727, allocations: 4 kB / 1.051 GB, free: 3.492 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.1729, allocations: 95.88 kB / 1.051 GB, free: 3.398 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1729, allocations: 8 kB / 1.051 GB, free: 3.391 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.1729, allocations: 16 kB / 1.051 GB, free: 3.375 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.173, allocations: 7.938 kB / 1.051 GB, free: 3.367 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.173, allocations: 4.469 kB / 1.051 GB, free: 3.363 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.1735, allocations: 0.6576 MB / 1.052 GB, free: 2.617 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1736, allocations: 107.5 kB / 1.052 GB, free: 2.512 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.1737, allocations: 20.12 kB / 1.052 GB, free: 2.492 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1739, allocations: 19.98 kB / 1.052 GB, free: 2.473 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.1739, allocations: 31.89 kB / 1.052 GB, free: 2.441 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.174, allocations: 23.98 kB / 1.052 GB, free: 2.418 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002306/0.1742, allocations: 342.7 kB / 1.053 GB, free: 2.086 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1742, allocations: 4 kB / 1.053 GB, free: 2.082 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004344/0.1746, allocations: 207.9 kB / 1.053 GB, free: 1.879 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.0003057/0.1749, allocations: 165.2 kB / 1.053 GB, free: 1.715 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.1753, allocations: 297.5 kB / 1.053 GB, free: 1.422 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1753, allocations: 0 / 1.053 GB, free: 1.422 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1754, allocations: 141.8 kB / 1.053 GB, free: 1.281 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/0.1764, allocations: 324.5 kB / 1.054 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3956/0.572, allocations: 1.48 MB / 1.055 GB, free: 77.96 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.5721, allocations: 203.7 kB / 1.055 GB, free: 77.89 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004989/0.5726, allocations: 147.8 kB / 1.055 GB, free: 77.88 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.5728, allocations: 55.56 kB / 1.055 GB, free: 77.88 MB / 1.01 GB Notification: Performance of SimCode: time 2.114e-06/0.5728, allocations: 0.6562 kB / 1.055 GB, free: 77.88 MB / 1.01 GB Notification: Performance of Templates: time 0.01452/0.5873, allocations: 12.56 MB / 1.068 GB, free: 77.08 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.053308723028749]