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.001277/0.001277, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001813/0.001813, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9673/0.9673, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.845/1.845, allocations: 377.9 MB / 0.624 GB, free: 8.422 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 4.178e-06/4.178e-06, allocations: 4 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3.204e-05, allocations: 3.078 kB / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1328/0.1328, allocations: 150.8 MB / 0.9593 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006986/0.1398, allocations: 4.875 MB / 0.964 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.1414, allocations: 79.31 kB / 0.9641 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009176/0.1423, allocations: 408.9 kB / 0.9645 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.145, allocations: 1.492 MB / 0.966 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.1468, allocations: 1.142 MB / 0.9671 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003811/0.1506, allocations: 4.102 MB / 0.9711 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.1519, allocations: 1.033 MB / 0.9721 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.1549, allocations: 2.068 MB / 0.9741 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.1564, allocations: 1.157 MB / 0.9752 GB, free: 9.754 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.1565, allocations: 140 kB / 0.9754 GB, free: 9.617 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007958/0.1573, allocations: 443.1 kB / 0.9758 GB, free: 9.184 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004374/0.1578, allocations: 0.6661 MB / 0.9764 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.1583, allocations: 0.6081 MB / 0.977 GB, free: 7.906 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.1597, allocations: 1.507 MB / 0.9785 GB, free: 6.395 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1597, allocations: 0 / 0.9785 GB, free: 6.395 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1597, allocations: 0 / 0.9785 GB, free: 6.395 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.1598, allocations: 3.984 kB / 0.9785 GB, free: 6.391 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.001756/0.1615, allocations: 1.838 MB / 0.9803 GB, free: 4.508 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1615, allocations: 8.031 kB / 0.9803 GB, free: 4.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.1631, allocations: 0.5964 MB / 0.9809 GB, free: 3.902 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1641, allocations: 1.011 MB / 0.9819 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.1642, allocations: 90.27 kB / 0.982 GB, free: 2.766 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1643, allocations: 123.9 kB / 0.9821 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008352/0.1651, allocations: 1.031 MB / 0.9831 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.1651, allocations: 0 / 0.9831 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.1652, allocations: 48 kB / 0.9831 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.1653, allocations: 38.14 kB / 0.9832 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.1657, allocations: 375.2 kB / 0.9835 GB, free: 1 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.00281/0.1685, allocations: 2.563 MB / 0.986 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.169, allocations: 439.2 kB / 0.9865 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.1692, allocations: 193.5 kB / 0.9866 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.1693, allocations: 42.84 kB / 0.9867 GB, free: 13.72 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.1693, allocations: 50.39 kB / 0.9867 GB, free: 13.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 1.903e-06/0.1693, allocations: 3.938 kB / 0.9867 GB, free: 13.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=89): time 0.002092/0.1714, allocations: 1.422 MB / 0.9881 GB, free: 12.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.1714, allocations: 64.41 kB / 0.9882 GB, free: 12.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.1719, allocations: 0.7177 MB / 0.9889 GB, free: 11.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.1719, allocations: 45.7 kB / 0.9889 GB, free: 11.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.1723, allocations: 0.6205 MB / 0.9895 GB, free: 10.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.1724, allocations: 329.1 kB / 0.9899 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.1726, allocations: 176.2 kB / 0.99 GB, free: 10.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1727, allocations: 0.516 MB / 0.9905 GB, free: 9.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1729, allocations: 93.91 kB / 0.9906 GB, free: 9.586 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.1731, allocations: 381.5 kB / 0.991 GB, free: 9.137 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.001047/0.1742, allocations: 0.9938 MB / 0.9919 GB, free: 8.098 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1742, allocations: 3.938 kB / 0.992 GB, free: 8.094 MB / 0.948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0005786/0.1747, allocations: 0.5672 MB / 0.9925 GB, free: 7.523 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1748, allocations: 8 kB / 0.9925 GB, free: 7.516 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1748, allocations: 4 kB / 0.9925 GB, free: 7.512 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1748, allocations: 4 kB / 0.9925 GB, free: 7.508 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.1752, allocations: 183.7 kB / 0.9927 GB, free: 7.328 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1752, allocations: 8 kB / 0.9927 GB, free: 7.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.1755, allocations: 27.95 kB / 0.9927 GB, free: 7.293 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.1756, allocations: 20 kB / 0.9928 GB, free: 7.273 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.0002283/0.1758, allocations: 220.5 kB / 0.993 GB, free: 7.047 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.1759, allocations: 139.3 kB / 0.9931 GB, free: 6.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1761, allocations: 126.4 kB / 0.9932 GB, free: 6.785 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.1761, allocations: 12 kB / 0.9932 GB, free: 6.773 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.1761, allocations: 0 / 0.9932 GB, free: 6.773 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005614/0.1766, allocations: 0.6579 MB / 0.9939 GB, free: 6.039 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.1787, allocations: 1.914 MB / 0.9957 GB, free: 3.926 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.1787, allocations: 12.03 kB / 0.9957 GB, free: 3.914 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.179, allocations: 159.7 kB / 0.9959 GB, free: 3.758 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002209/0.1793, allocations: 107.3 kB / 0.996 GB, free: 3.645 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.1793, allocations: 28 kB / 0.996 GB, free: 3.617 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.1808, allocations: 3.544 MB / 0.9995 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.1808, allocations: 15.94 kB / 0.9995 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1819, allocations: 1.188 MB / 1.001 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.1822, allocations: 195.2 kB / 1.001 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.1822, allocations: 35.98 kB / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.1826, allocations: 31.98 kB / 1.001 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.1827, allocations: 88.14 kB / 1.001 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.1828, allocations: 39.98 kB / 1.001 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002868/0.183, allocations: 434.8 kB / 1.001 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.2e-07/0.183, allocations: 0 / 1.001 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000769/0.1838, allocations: 379.9 kB / 1.002 GB, free: 13.28 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.0002553/0.1841, allocations: 174.9 kB / 1.002 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.1846, allocations: 430.7 kB / 1.002 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.1846, allocations: 8 kB / 1.002 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.1851, allocations: 0.5999 MB / 1.003 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.1869, allocations: 0.7582 MB / 1.004 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.1895, allocations: 2.46 MB / 1.006 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1897, allocations: 320.8 kB / 1.006 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005517/0.1902, allocations: 185.1 kB / 1.007 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000954/0.1912, allocations: 0.5993 MB / 1.007 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of SimCode: time 1.743e-06/0.1912, allocations: 3.938 kB / 1.007 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of Templates: time 0.02772/0.2189, allocations: 26.75 MB / 1.033 GB, free: 13.41 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.2668976448476315]