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.001344/0.001344, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001375/0.001375, allocations: 173 kB / 23.36 MB, free: 1.133 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.9609/0.9609, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.473e-06/1.473e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.906e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1373/0.1373, allocations: 149 MB / 0.9841 GB, free: 8.691 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005033/0.1423, allocations: 3.282 MB / 0.9873 GB, free: 5.398 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007047/0.1431, allocations: 43.62 kB / 0.9873 GB, free: 5.355 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008703/0.1439, allocations: 242.2 kB / 0.9875 GB, free: 5.117 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.1454, allocations: 0.8934 MB / 0.9884 GB, free: 4.219 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1466, allocations: 0.6937 MB / 0.9891 GB, free: 3.523 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001949/0.1485, allocations: 1.992 MB / 0.991 GB, free: 1.527 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000761/0.1493, allocations: 0.6075 MB / 0.9916 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.1511, allocations: 1.13 MB / 0.9927 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000696/0.1518, allocations: 0.5648 MB / 0.9933 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.1519, allocations: 76 kB / 0.9934 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000677/0.1526, allocations: 387 kB / 0.9937 GB, free: 14.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.1529, allocations: 414.9 kB / 0.9941 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.1534, allocations: 355.2 kB / 0.9945 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.1545, allocations: 0.9616 MB / 0.9954 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1545, allocations: 0 / 0.9954 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1545, allocations: 7.938 kB / 0.9954 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.1546, allocations: 0 / 0.9954 GB, free: 13.05 MB / 0.9636 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.001195/0.1558, allocations: 1.091 MB / 0.9965 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1558, allocations: 8.625 kB / 0.9965 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006868/0.1565, allocations: 264.4 kB / 0.9967 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/0.1572, allocations: 0.5434 MB / 0.9973 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.1572, allocations: 58.12 kB / 0.9973 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.1573, allocations: 91.95 kB / 0.9974 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.1579, allocations: 0.7679 MB / 0.9982 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.158, allocations: 0 / 0.9982 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.158, allocations: 36 kB / 0.9982 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.158, allocations: 25.31 kB / 0.9982 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.1583, allocations: 268.1 kB / 0.9985 GB, free: 9.73 MB / 0.9636 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.002324/0.1607, allocations: 3.262 MB / 1.002 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.161, allocations: 387.4 kB / 1.002 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1611, allocations: 103.7 kB / 1.002 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-05/0.1612, allocations: 28.31 kB / 1.002 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1613, allocations: 38.89 kB / 1.002 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=42): time 2.926e-06/0.1613, allocations: 0 / 1.002 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44): time 0.001079/0.1623, allocations: 0.6359 MB / 1.003 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.1624, allocations: 110.8 kB / 1.003 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.1627, allocations: 471 kB / 1.003 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.1628, allocations: 37.7 kB / 1.003 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1629, allocations: 369.2 kB / 1.004 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.163, allocations: 178.5 kB / 1.004 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1631, allocations: 110.3 kB / 1.004 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.1632, allocations: 378.6 kB / 1.004 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.1633, allocations: 60.11 kB / 1.004 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.1636, allocations: 400.7 kB / 1.005 GB, free: 2.82 MB / 0.9636 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.000491/0.164, allocations: 0.4969 MB / 1.005 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.164, allocations: 4.062 kB / 1.005 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003578/0.1644, allocations: 350.2 kB / 1.006 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1644, allocations: 10.19 kB / 1.006 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1644, allocations: 4 kB / 1.006 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1645, allocations: 16.72 kB / 1.006 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.1647, allocations: 119.8 kB / 1.006 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1647, allocations: 19.92 kB / 1.006 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.1649, allocations: 23.95 kB / 1.006 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.165, allocations: 20 kB / 1.006 GB, free: 1.668 MB / 0.9636 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.0001712/0.1651, allocations: 169.9 kB / 1.006 GB, free: 1.492 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.1652, allocations: 51.94 kB / 1.006 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.62e-05/0.1653, allocations: 74.09 kB / 1.006 GB, free: 1.367 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.1653, allocations: 8 kB / 1.006 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1653, allocations: 0 / 1.006 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002598/0.1656, allocations: 479.7 kB / 1.007 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.1666, allocations: 1.039 MB / 1.008 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1666, allocations: 8.062 kB / 1.008 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.1668, allocations: 103.8 kB / 1.008 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.1668, allocations: 4 kB / 1.008 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1669, allocations: 16 kB / 1.008 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1669, allocations: 8 kB / 1.008 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1669, allocations: 11.92 kB / 1.008 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.1675, allocations: 0.5271 MB / 1.008 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1676, allocations: 95.42 kB / 1.008 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.1676, allocations: 12 kB / 1.008 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.1678, allocations: 19.98 kB / 1.008 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1678, allocations: 39.83 kB / 1.008 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.1679, allocations: 15.98 kB / 1.008 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001537/0.168, allocations: 204.4 kB / 1.009 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.168, allocations: 0 / 1.009 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004401/0.1685, allocations: 200 kB / 1.009 GB, free: 14.35 MB / 0.9792 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.0003278/0.1688, allocations: 168.8 kB / 1.009 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.1691, allocations: 254.7 kB / 1.009 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.1691, allocations: 8 kB / 1.009 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.1692, allocations: 117.2 kB / 1.009 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.17, allocations: 340.3 kB / 1.01 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.1717, allocations: 1.397 MB / 1.011 GB, free: 12 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.1718, allocations: 202.4 kB / 1.011 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002817/0.1721, allocations: 101.3 kB / 1.011 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.1725, allocations: 275.1 kB / 1.012 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of SimCode: time 7.71e-07/0.1725, allocations: 0 / 1.012 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of Templates: time 0.01774/0.1903, allocations: 12.83 MB / 1.024 GB, free: 14.96 MB / 0.9948 GB " [Timeout remaining time 300] 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: 5.716540189925581]