Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001409/0.001409, allocations: 83.59 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.001106/0.001106, allocations: 169 kB / 23.82 MB, free: 0.7461 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.8832/0.8832, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.859/1.859, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] 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.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.356e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1397/0.1398, allocations: 153.7 MB / 0.9616 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007848/0.1476, allocations: 4.901 MB / 0.9664 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009784/0.1486, allocations: 79.31 kB / 0.9665 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008515/0.1494, allocations: 408.9 kB / 0.9669 GB, free: 2.148 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.1518, allocations: 1.488 MB / 0.9683 GB, free: 0.6523 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.1536, allocations: 1.146 MB / 0.9694 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003621/0.1572, allocations: 4.099 MB / 0.9734 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.1586, allocations: 1.037 MB / 0.9745 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.1613, allocations: 2.06 MB / 0.9765 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.1627, allocations: 1.149 MB / 0.9776 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.1629, allocations: 144 kB / 0.9777 GB, free: 7.016 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008809/0.1638, allocations: 443.1 kB / 0.9782 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005791/0.1644, allocations: 0.6622 MB / 0.9788 GB, free: 5.918 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.165, allocations: 0.612 MB / 0.9794 GB, free: 5.305 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.1665, allocations: 1.511 MB / 0.9809 GB, free: 3.789 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1665, allocations: 3.938 kB / 0.9809 GB, free: 3.785 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1665, allocations: 4 kB / 0.9809 GB, free: 3.781 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.458e-05/0.1665, allocations: 0 / 0.9809 GB, free: 3.781 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002029/0.1686, allocations: 1.838 MB / 0.9827 GB, free: 1.898 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1686, allocations: 12.03 kB / 0.9827 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.1702, allocations: 0.5963 MB / 0.9833 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.1714, allocations: 1.038 MB / 0.9843 GB, free: 220 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.627e-05/0.1715, allocations: 86.27 kB / 0.9844 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.1716, allocations: 127.9 kB / 0.9845 GB, free: 4 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.1727, allocations: 1.111 MB / 0.9856 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.1728, allocations: 3.984 kB / 0.9856 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.339e-05/0.1728, allocations: 48 kB / 0.9856 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.1729, allocations: 42.12 kB / 0.9857 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/0.1736, allocations: 464.4 kB / 0.9861 GB, free: 14.19 MB / 0.948 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.003366/0.177, allocations: 2.56 MB / 0.9886 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.1776, allocations: 483.1 kB / 0.9891 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.1779, allocations: 225.6 kB / 0.9893 GB, free: 10.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.178, allocations: 32.97 kB / 0.9893 GB, free: 10.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.178, allocations: 50.39 kB / 0.9894 GB, free: 10.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 2.645e-06/0.178, allocations: 0 / 0.9894 GB, free: 10.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=89): time 0.00271/0.1808, allocations: 1.725 MB / 0.991 GB, free: 9.035 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.1808, allocations: 60.41 kB / 0.9911 GB, free: 8.965 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.1814, allocations: 0.7259 MB / 0.9918 GB, free: 8.219 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.1814, allocations: 49.7 kB / 0.9919 GB, free: 8.164 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.1819, allocations: 0.6089 MB / 0.9925 GB, free: 7.547 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.182, allocations: 341.1 kB / 0.9928 GB, free: 7.211 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.1822, allocations: 160.3 kB / 0.9929 GB, free: 7.047 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1823, allocations: 0.5121 MB / 0.9934 GB, free: 6.527 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1825, allocations: 125.9 kB / 0.9936 GB, free: 6.402 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.1829, allocations: 413.5 kB / 0.9939 GB, free: 5.922 MB / 0.948 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.001471/0.1843, allocations: 1.157 MB / 0.9951 GB, free: 4.719 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1843, allocations: 3.938 kB / 0.9951 GB, free: 4.715 MB / 0.948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007287/0.1851, allocations: 0.6217 MB / 0.9957 GB, free: 4.086 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1851, allocations: 8 kB / 0.9957 GB, free: 4.078 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1851, allocations: 4 kB / 0.9957 GB, free: 4.074 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1851, allocations: 4 kB / 0.9957 GB, free: 4.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.1855, allocations: 183.7 kB / 0.9959 GB, free: 3.891 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.1855, allocations: 15.92 kB / 0.9959 GB, free: 3.875 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.1859, allocations: 28.33 kB / 0.9959 GB, free: 3.848 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.186, allocations: 32 kB / 0.9959 GB, free: 3.816 MB / 0.948 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.0002112/0.1862, allocations: 220.3 kB / 0.9962 GB, free: 3.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.1863, allocations: 135.3 kB / 0.9963 GB, free: 3.457 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.1864, allocations: 130.4 kB / 0.9964 GB, free: 3.328 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1864, allocations: 8 kB / 0.9964 GB, free: 3.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.1864, allocations: 3.984 kB / 0.9964 GB, free: 3.316 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006928/0.1871, allocations: 0.7126 MB / 0.9971 GB, free: 2.527 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.1896, allocations: 2.149 MB / 0.9992 GB, free: 172 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1896, allocations: 11.94 kB / 0.9992 GB, free: 160 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.19, allocations: 163.8 kB / 0.9994 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.1902, allocations: 107.4 kB / 0.9995 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.1903, allocations: 28 kB / 0.9995 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.1918, allocations: 3.601 MB / 1.003 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.1918, allocations: 16.06 kB / 1.003 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1929, allocations: 1.243 MB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.1932, allocations: 211.2 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.1933, allocations: 27.98 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.1937, allocations: 42.55 kB / 1.005 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-05/0.1938, allocations: 84.2 kB / 1.005 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.1938, allocations: 55.98 kB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003555/0.1942, allocations: 470.8 kB / 1.005 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.1942, allocations: 0 / 1.005 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0006454/0.1948, allocations: 375.9 kB / 1.005 GB, free: 9.332 MB / 0.9636 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.0004453/0.1953, allocations: 170.9 kB / 1.006 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006421/0.1959, allocations: 482.6 kB / 1.006 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1959, allocations: 3.938 kB / 1.006 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.1964, allocations: 0.6197 MB / 1.007 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.1982, allocations: 0.7486 MB / 1.007 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.2008, allocations: 2.464 MB / 1.01 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.201, allocations: 316.9 kB / 1.01 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006185/0.2016, allocations: 273 kB / 1.01 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.2018, allocations: 88.5 kB / 1.01 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of SimCode: time 7.61e-07/0.2018, allocations: 0 / 1.01 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of Templates: time 0.02923/0.231, allocations: 26.11 MB / 1.036 GB, free: 10.42 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.058948740828782]