Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001108/0.001108, allocations: 93.06 kB / 19.65 MB, free: 276 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.001993/0.001993, allocations: 165 kB / 23.01 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 1.125/1.125, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.146/2.146, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.542e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1497/0.1497, allocations: 149.5 MB / 1.024 GB, free: 260 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00405/0.1538, allocations: 3.157 MB / 1.027 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.1542, allocations: 43.62 kB / 1.027 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007644/0.1549, allocations: 230.3 kB / 1.028 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.156, allocations: 0.7341 MB / 1.028 GB, free: 12.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.157, allocations: 0.7129 MB / 1.029 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.1584, allocations: 1.473 MB / 1.03 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.1589, allocations: 484.8 kB / 1.031 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000654/0.1596, allocations: 0.7247 MB / 1.032 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007994/0.1604, allocations: 490.6 kB / 1.032 GB, free: 8.223 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.1605, allocations: 52 kB / 1.032 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.1611, allocations: 0.5962 MB / 1.033 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.1614, allocations: 303.1 kB / 1.033 GB, free: 7.277 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.1616, allocations: 267.3 kB / 1.033 GB, free: 7.016 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.1643, allocations: 0.8837 MB / 1.034 GB, free: 6.129 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.1643, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.276e-06/0.1643, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.035e-05/0.1644, allocations: 0 / 1.034 GB, free: 6.129 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00255/0.1669, allocations: 1.094 MB / 1.035 GB, free: 4.996 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.609e-05/0.167, allocations: 12.03 kB / 1.035 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.1682, allocations: 228.2 kB / 1.035 GB, free: 4.762 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.1694, allocations: 0.5067 MB / 1.036 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.1694, allocations: 45.25 kB / 1.036 GB, free: 4.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.1695, allocations: 63.98 kB / 1.036 GB, free: 4.117 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/0.1704, allocations: 0.7078 MB / 1.037 GB, free: 3.254 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1704, allocations: 3.938 kB / 1.037 GB, free: 3.25 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.1704, allocations: 32 kB / 1.037 GB, free: 3.219 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.1705, allocations: 21 kB / 1.037 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.1709, allocations: 233.3 kB / 1.037 GB, free: 2.969 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.003435/0.1743, allocations: 5.334 MB / 1.042 GB, free: 13.43 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1744, allocations: 112.3 kB / 1.042 GB, free: 13.27 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.1745, allocations: 50.92 kB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.1746, allocations: 23.98 kB / 1.042 GB, free: 13.18 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1747, allocations: 41.27 kB / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 3.307e-06/0.1747, allocations: 4 kB / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0004127/0.1751, allocations: 157.1 kB / 1.043 GB, free: 12.97 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.1751, allocations: 128.5 kB / 1.043 GB, free: 12.81 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.1757, allocations: 0.5765 MB / 1.043 GB, free: 12.22 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1757, allocations: 25.7 kB / 1.043 GB, free: 12.19 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.176, allocations: 486.6 kB / 1.044 GB, free: 11.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.176, allocations: 35.94 kB / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1761, allocations: 103.6 kB / 1.044 GB, free: 11.56 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1763, allocations: 0.5352 MB / 1.044 GB, free: 11.01 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.1764, allocations: 32.72 kB / 1.044 GB, free: 10.98 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.1767, allocations: 0.5346 MB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.1771, allocations: 432.6 kB / 1.045 GB, free: 9.68 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1771, allocations: 4 kB / 1.045 GB, free: 9.676 MB / 1.01 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005298/0.1777, allocations: 357.4 kB / 1.046 GB, free: 9.32 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.1777, allocations: 10.34 kB / 1.046 GB, free: 9.312 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.1777, allocations: 8.094 kB / 1.046 GB, free: 9.305 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.1777, allocations: 15.92 kB / 1.046 GB, free: 9.289 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.1779, allocations: 92.45 kB / 1.046 GB, free: 9.199 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.1779, allocations: 23.92 kB / 1.046 GB, free: 9.176 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.1782, allocations: 71.58 kB / 1.046 GB, free: 9.105 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.1783, allocations: 24 kB / 1.046 GB, free: 9.082 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001516/0.1784, allocations: 188.4 kB / 1.046 GB, free: 8.887 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.1785, allocations: 63.61 kB / 1.046 GB, free: 8.824 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.1786, allocations: 52.03 kB / 1.046 GB, free: 8.77 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1786, allocations: 7.938 kB / 1.046 GB, free: 8.762 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1786, allocations: 0 / 1.046 GB, free: 8.762 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1786, allocations: 4 kB / 1.046 GB, free: 8.758 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009521/0.1795, allocations: 1.182 MB / 1.047 GB, free: 7.488 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1795, allocations: 0 / 1.047 GB, free: 7.488 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/0.1796, allocations: 20.3 kB / 1.047 GB, free: 7.469 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1796, allocations: 8 kB / 1.047 GB, free: 7.461 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1796, allocations: 4 kB / 1.047 GB, free: 7.457 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1796, allocations: 7.938 kB / 1.047 GB, free: 7.449 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1796, allocations: 4 kB / 1.047 GB, free: 7.445 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.1798, allocations: 245 kB / 1.048 GB, free: 7.145 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1799, allocations: 63.64 kB / 1.048 GB, free: 7.082 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.18, allocations: 8 kB / 1.048 GB, free: 7.074 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1801, allocations: 15.98 kB / 1.048 GB, free: 7.059 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1801, allocations: 23.86 kB / 1.048 GB, free: 7.035 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1801, allocations: 4 kB / 1.048 GB, free: 7.031 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002932/0.1804, allocations: 346.8 kB / 1.048 GB, free: 6.695 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1804, allocations: 0 / 1.048 GB, free: 6.695 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005119/0.1809, allocations: 187.5 kB / 1.048 GB, free: 6.512 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * 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.0004655/0.1814, allocations: 173 kB / 1.048 GB, free: 6.344 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.1817, allocations: 161.1 kB / 1.049 GB, free: 6.184 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1817, allocations: 4.125 kB / 1.049 GB, free: 6.18 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.1817, allocations: 39.55 kB / 1.049 GB, free: 6.137 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.1824, allocations: 202.5 kB / 1.049 GB, free: 5.945 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.184, allocations: 0.9888 MB / 1.05 GB, free: 4.883 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.1841, allocations: 165.2 kB / 1.05 GB, free: 4.699 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002663/0.1844, allocations: 104.5 kB / 1.05 GB, free: 4.598 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.1845, allocations: 36.5 kB / 1.05 GB, free: 4.562 MB / 1.01 GB Notification: Performance of SimCode: time 1.683e-06/0.1845, allocations: 0 / 1.05 GB, free: 4.562 MB / 1.01 GB Notification: Performance of Templates: time 0.4949/0.6793, allocations: 7.406 MB / 1.057 GB, free: 76.86 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.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.493128966074437]