Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.0008694/0.0008694, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009539/0.0009539, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9644/0.9644, allocations: 177.1 MB / 203.8 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.314/2.314, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.[0-9,]+.|volMFactor.Xi.[0-9,]+.|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.[0-9,]+.|volMFactor.Xi.[0-9,]+.|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0.9844 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.242e-05, allocations: 9.344 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1425/0.1425, allocations: 152.9 MB / 0.9879 GB, free: 4.738 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006515/0.149, allocations: 4.994 MB / 0.9928 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006129/0.1496, allocations: 79.31 kB / 0.9929 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007379/0.1503, allocations: 404.9 kB / 0.9932 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.1523, allocations: 1.484 MB / 0.9947 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1537, allocations: 1.13 MB / 0.9958 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003634/0.1573, allocations: 4.055 MB / 0.9998 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009669/0.1583, allocations: 1.027 MB / 1.001 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.1606, allocations: 2.047 MB / 1.003 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.1617, allocations: 1.094 MB / 1.004 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.1619, allocations: 144 kB / 1.004 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006043/0.1625, allocations: 439.1 kB / 1.004 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.1629, allocations: 0.6622 MB / 1.005 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.1634, allocations: 0.612 MB / 1.006 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.1647, allocations: 1.507 MB / 1.007 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1647, allocations: 0 / 1.007 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1647, allocations: 4 kB / 1.007 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.1647, allocations: 0 / 1.007 GB, free: 1.039 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00162/0.1663, allocations: 1.642 MB / 1.009 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1664, allocations: 12.62 kB / 1.009 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.1679, allocations: 0.5892 MB / 1.009 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.1689, allocations: 0.8473 MB / 1.01 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.1689, allocations: 90.27 kB / 1.01 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1691, allocations: 116 kB / 1.01 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008982/0.17, allocations: 1.086 MB / 1.011 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.17, allocations: 0 / 1.011 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.05e-05/0.1701, allocations: 52 kB / 1.011 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.1701, allocations: 38.14 kB / 1.011 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.1705, allocations: 327.3 kB / 1.012 GB, free: 12.01 MB / 0.9792 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.002626/0.1732, allocations: 2.1 MB / 1.014 GB, free: 9.875 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.1736, allocations: 470.3 kB / 1.014 GB, free: 9.398 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1738, allocations: 181.6 kB / 1.014 GB, free: 9.219 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-05/0.1739, allocations: 28.98 kB / 1.014 GB, free: 9.191 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1739, allocations: 47.56 kB / 1.015 GB, free: 9.133 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=83): time 2.094e-06/0.1739, allocations: 0 / 1.015 GB, free: 9.133 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89): time 0.002091/0.176, allocations: 1.314 MB / 1.016 GB, free: 7.789 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.1761, allocations: 64.41 kB / 1.016 GB, free: 7.715 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.1765, allocations: 0.6286 MB / 1.016 GB, free: 7.074 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.1765, allocations: 41.7 kB / 1.017 GB, free: 7.027 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.1767, allocations: 454.6 kB / 1.017 GB, free: 6.578 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.1769, allocations: 325.1 kB / 1.017 GB, free: 6.258 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.177, allocations: 154.5 kB / 1.017 GB, free: 6.102 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.1771, allocations: 345.9 kB / 1.018 GB, free: 5.758 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1772, allocations: 88.8 kB / 1.018 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.1775, allocations: 320.8 kB / 1.018 GB, free: 5.289 MB / 0.9792 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 (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.1784, allocations: 0.9112 MB / 1.019 GB, free: 4.348 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.1784, allocations: 4 kB / 1.019 GB, free: 4.344 MB / 0.9792 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0004601/0.1789, allocations: 431 kB / 1.019 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1789, allocations: 4 kB / 1.019 GB, free: 3.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1789, allocations: 4 kB / 1.019 GB, free: 3.906 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1789, allocations: 8.375 kB / 1.019 GB, free: 3.898 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.1793, allocations: 183.7 kB / 1.02 GB, free: 3.719 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1793, allocations: 4 kB / 1.02 GB, free: 3.715 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.1797, allocations: 23.95 kB / 1.02 GB, free: 3.691 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.1797, allocations: 27.98 kB / 1.02 GB, free: 3.664 MB / 0.9792 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0002109/0.1799, allocations: 181 kB / 1.02 GB, free: 3.477 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.18, allocations: 103.8 kB / 1.02 GB, free: 3.375 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1801, allocations: 122.4 kB / 1.02 GB, free: 3.246 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1802, allocations: 15.92 kB / 1.02 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1802, allocations: 0 / 1.02 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004617/0.1806, allocations: 0.5623 MB / 1.021 GB, free: 2.594 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.1825, allocations: 1.713 MB / 1.022 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1825, allocations: 8.047 kB / 1.022 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.1828, allocations: 163.7 kB / 1.022 GB, free: 0.5234 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002565/0.1831, allocations: 110.7 kB / 1.023 GB, free: 416 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.1831, allocations: 35.98 kB / 1.023 GB, free: 380 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.1843, allocations: 2.466 MB / 1.025 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.1843, allocations: 15.88 kB / 1.025 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/0.1852, allocations: 1.046 MB / 1.026 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.1854, allocations: 163.2 kB / 1.026 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.1855, allocations: 31.98 kB / 1.026 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.1859, allocations: 40.3 kB / 1.026 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.186, allocations: 84.14 kB / 1.026 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.186, allocations: 39.98 kB / 1.026 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002172/0.1863, allocations: 312.5 kB / 1.027 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1863, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006399/0.1869, allocations: 372 kB / 1.027 GB, free: 11.46 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002241/0.1871, allocations: 152.1 kB / 1.027 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.1876, allocations: 399.2 kB / 1.028 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.1876, allocations: 12 kB / 1.028 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.188, allocations: 480.6 kB / 1.028 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.1896, allocations: 0.7562 MB / 1.029 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.1918, allocations: 2.239 MB / 1.031 GB, free: 7.254 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.192, allocations: 304.9 kB / 1.031 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005021/0.1925, allocations: 185 kB / 1.031 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009162/0.1934, allocations: 0.5046 MB / 1.032 GB, free: 6.238 MB / 0.9948 GB Notification: Performance of SimCode: time 5.81e-07/0.1934, allocations: 3.938 kB / 1.032 GB, free: 6.234 MB / 0.9948 GB Notification: Performance of Templates: time 0.4036/0.597, allocations: 26.51 MB / 1.058 GB, free: 81.03 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.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.300857661757618]