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.001003/0.001003, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001046/0.001046, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 1.093/1.093, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.962/1.962, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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.453e-06/1.453e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.302e-05, allocations: 5.766 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1391/0.1391, allocations: 149.7 MB / 0.9577 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005063/0.1442, allocations: 3.235 MB / 0.9609 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006618/0.1448, allocations: 51.62 kB / 0.9609 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007962/0.1456, allocations: 246.2 kB / 0.9612 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.147, allocations: 0.8818 MB / 0.962 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1481, allocations: 0.7054 MB / 0.9627 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.1498, allocations: 2.012 MB / 0.9647 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007376/0.1505, allocations: 0.6373 MB / 0.9653 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.1516, allocations: 0.9857 MB / 0.9663 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009399/0.1525, allocations: 0.6331 MB / 0.9669 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1526, allocations: 80 kB / 0.9669 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006182/0.1533, allocations: 474.8 kB / 0.9674 GB, free: 1.613 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.1535, allocations: 414.9 kB / 0.9678 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.1538, allocations: 355.2 kB / 0.9681 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.1549, allocations: 0.9927 MB / 0.9691 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1549, allocations: 4 kB / 0.9691 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1549, allocations: 0 / 0.9691 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.1549, allocations: 0 / 0.9691 GB, free: 15.86 MB / 0.9323 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.001402/0.1563, allocations: 1.263 MB / 0.9703 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1564, allocations: 8.031 kB / 0.9703 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007872/0.1572, allocations: 303.9 kB / 0.9706 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.1579, allocations: 0.6392 MB / 0.9713 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.1579, allocations: 61.94 kB / 0.9713 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.955e-05/0.158, allocations: 80 kB / 0.9714 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.1588, allocations: 0.8695 MB / 0.9722 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1588, allocations: 0 / 0.9722 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.1589, allocations: 32 kB / 0.9723 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.1589, allocations: 29.31 kB / 0.9723 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.1594, allocations: 307.3 kB / 0.9726 GB, free: 12.07 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.002874/0.1623, allocations: 4.645 MB / 0.9771 GB, free: 7.262 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.1627, allocations: 317.7 kB / 0.9774 GB, free: 6.914 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.1629, allocations: 130.9 kB / 0.9776 GB, free: 6.773 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.163, allocations: 27.98 kB / 0.9776 GB, free: 6.746 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.163, allocations: 45.38 kB / 0.9776 GB, free: 6.691 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.163, allocations: 4 kB / 0.9776 GB, free: 6.688 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45): time 0.001521/0.1645, allocations: 1.126 MB / 0.9787 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.1646, allocations: 110.8 kB / 0.9788 GB, free: 5.387 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.165, allocations: 0.5531 MB / 0.9794 GB, free: 4.816 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.165, allocations: 37.7 kB / 0.9794 GB, free: 4.773 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.1652, allocations: 482.8 kB / 0.9799 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.525e-05/0.1653, allocations: 170.8 kB / 0.98 GB, free: 4.125 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.1654, allocations: 124 kB / 0.9802 GB, free: 3.996 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1656, allocations: 0.5547 MB / 0.9807 GB, free: 3.43 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1657, allocations: 73.25 kB / 0.9808 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.166, allocations: 0.5302 MB / 0.9813 GB, free: 2.66 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.0006844/0.1667, allocations: 0.6198 MB / 0.9819 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1667, allocations: 4 kB / 0.9819 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005326/0.1673, allocations: 476.1 kB / 0.9824 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1673, allocations: 8 kB / 0.9824 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1673, allocations: 4.781 kB / 0.9824 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1673, allocations: 12 kB / 0.9824 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.1676, allocations: 127.8 kB / 0.9825 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.1676, allocations: 15.94 kB / 0.9825 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.1678, allocations: 19.98 kB / 0.9825 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.1678, allocations: 36.06 kB / 0.9826 GB, free: 1.227 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 (74): * Single equations (assignments): 74 * 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.0001564/0.168, allocations: 197.8 kB / 0.9828 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.1681, allocations: 91.61 kB / 0.9828 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.335e-05/0.1682, allocations: 74.23 kB / 0.9829 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1682, allocations: 7.984 kB / 0.9829 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1682, allocations: 0 / 0.9829 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003756/0.1686, allocations: 0.5362 MB / 0.9834 GB, free: 236 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.1699, allocations: 1.4 MB / 0.9848 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1699, allocations: 8.062 kB / 0.9848 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.1701, allocations: 107.8 kB / 0.9849 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1701, allocations: 4 kB / 0.9849 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.1702, allocations: 16 kB / 0.9849 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.331e-06/0.1702, allocations: 8 kB / 0.9849 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1702, allocations: 4 kB / 0.985 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.1708, allocations: 0.6679 MB / 0.9856 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.1709, allocations: 115.5 kB / 0.9857 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.1709, allocations: 16 kB / 0.9857 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.1711, allocations: 15.98 kB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.1712, allocations: 43.83 kB / 0.9858 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.1712, allocations: 15.98 kB / 0.9858 GB, free: 13.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002433/0.1714, allocations: 350.8 kB / 0.9861 GB, free: 13.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1714, allocations: 0 / 0.9861 GB, free: 13.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004337/0.1719, allocations: 195.9 kB / 0.9863 GB, free: 13.09 MB / 0.948 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 (45): * Single equations (assignments): 45 * 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.0003348/0.1722, allocations: 173.7 kB / 0.9865 GB, free: 12.92 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.1726, allocations: 301.9 kB / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1726, allocations: 0 / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1728, allocations: 131.9 kB / 0.9869 GB, free: 12.49 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.1736, allocations: 333.8 kB / 0.9872 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.1753, allocations: 1.485 MB / 0.9887 GB, free: 10.58 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.1755, allocations: 206.6 kB / 0.9889 GB, free: 10.36 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003085/0.1758, allocations: 157.3 kB / 0.989 GB, free: 10.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1759, allocations: 56.5 kB / 0.9891 GB, free: 10.15 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/0.1759, allocations: 0 / 0.9891 GB, free: 10.15 MB / 0.948 GB Notification: Performance of Templates: time 0.01408/0.1899, allocations: 11.88 MB / 1.001 GB, free: 14.62 MB / 0.9636 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.864384848158807]