Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.0009912/0.0009912, allocations: 82.64 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.001018/0.001018, allocations: 185 kB / 24.09 MB, free: 416 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.9489/0.9489, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.261e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.1294/0.1294, allocations: 152.1 MB / 0.9361 GB, free: 3.547 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.009029/0.1384, allocations: 5.247 MB / 0.9413 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.1405, allocations: 103.1 kB / 0.9414 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.1416, allocations: 464.3 kB / 0.9418 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.1449, allocations: 1.624 MB / 0.9434 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.1479, allocations: 1.306 MB / 0.9447 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00555/0.1534, allocations: 4.484 MB / 0.9491 GB, free: 6.297 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.1552, allocations: 1.406 MB / 0.9504 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00397/0.1592, allocations: 2.553 MB / 0.9529 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.161, allocations: 1.41 MB / 0.9543 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003968/0.1614, allocations: 176 kB / 0.9545 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1624, allocations: 483.1 kB / 0.9549 GB, free: 356 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0005888/0.163, allocations: 0.7712 MB / 0.9557 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007784/0.1638, allocations: 0.7288 MB / 0.9564 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.1658, allocations: 1.841 MB / 0.9582 GB, free: 13 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1658, allocations: 0 / 0.9582 GB, free: 13 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1658, allocations: 3.938 kB / 0.9582 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.897e-05/0.1658, allocations: 0 / 0.9582 GB, free: 12.99 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002355/0.1682, allocations: 2.219 MB / 0.9604 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1682, allocations: 12.03 kB / 0.9604 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.1697, allocations: 0.6237 MB / 0.961 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.171, allocations: 1.2 MB / 0.9622 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.1711, allocations: 114.9 kB / 0.9623 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.1713, allocations: 156 kB / 0.9624 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1726, allocations: 1.589 MB / 0.964 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.1726, allocations: 7.938 kB / 0.964 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.1727, allocations: 60 kB / 0.964 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.1727, allocations: 54.53 kB / 0.9641 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.1734, allocations: 0.5304 MB / 0.9646 GB, free: 6.094 MB / 0.9167 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.00476/0.1781, allocations: 6.61 MB / 0.9711 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006551/0.1788, allocations: 0.6267 MB / 0.9717 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.1791, allocations: 318.6 kB / 0.972 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.1792, allocations: 55.28 kB / 0.972 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1792, allocations: 54.42 kB / 0.9721 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006628/0.1799, allocations: 307.2 kB / 0.9724 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=103): time 3.166e-06/0.1799, allocations: 0 / 0.9724 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109): time 0.003461/0.1834, allocations: 1.93 MB / 0.9742 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1834, allocations: 175.3 kB / 0.9744 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.184, allocations: 0.9488 MB / 0.9753 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.1841, allocations: 45.7 kB / 0.9754 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.1845, allocations: 0.8085 MB / 0.9762 GB, free: 9.871 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.1848, allocations: 416.4 kB / 0.9766 GB, free: 9.461 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.185, allocations: 248.4 kB / 0.9768 GB, free: 9.211 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1851, allocations: 0.5393 MB / 0.9773 GB, free: 8.664 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.1853, allocations: 162.5 kB / 0.9775 GB, free: 8.504 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.1857, allocations: 0.6611 MB / 0.9781 GB, free: 7.664 MB / 0.9323 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) 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 (sin.p = vol1.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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.1873, allocations: 1.65 MB / 0.9797 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1873, allocations: 0 / 0.9797 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.0009316/0.1882, allocations: 0.926 MB / 0.9807 GB, free: 4.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1882, allocations: 10.34 kB / 0.9807 GB, free: 4.922 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1882, allocations: 11.94 kB / 0.9807 GB, free: 4.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1883, allocations: 16 kB / 0.9807 GB, free: 4.895 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.1888, allocations: 267.6 kB / 0.9809 GB, free: 4.633 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.1889, allocations: 20.47 kB / 0.981 GB, free: 4.613 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.1894, allocations: 43.94 kB / 0.981 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.1894, allocations: 51.92 kB / 0.9811 GB, free: 4.52 MB / 0.9323 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 vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 160 * 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.0002961/0.1897, allocations: 256.2 kB / 0.9813 GB, free: 4.258 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.1899, allocations: 179.1 kB / 0.9815 GB, free: 4.082 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007703/0.1907, allocations: 0.7106 MB / 0.9822 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.1907, allocations: 12 kB / 0.9822 GB, free: 3.355 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1907, allocations: 3.938 kB / 0.9822 GB, free: 3.352 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006025/0.1913, allocations: 0.7251 MB / 0.9829 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.1939, allocations: 2.69 MB / 0.9855 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.1939, allocations: 12 kB / 0.9855 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.1944, allocations: 231.7 kB / 0.9857 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.1945, allocations: 16 kB / 0.9858 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.1945, allocations: 36 kB / 0.9858 GB, free: 15.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.1945, allocations: 27.86 kB / 0.9858 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.1945, allocations: 11.94 kB / 0.9858 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.1957, allocations: 1.425 MB / 0.9872 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.196, allocations: 246.9 kB / 0.9875 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.1961, allocations: 36 kB / 0.9875 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.1965, allocations: 31.98 kB / 0.9875 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.1966, allocations: 112.2 kB / 0.9876 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.1966, allocations: 43.98 kB / 0.9877 GB, free: 13.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003401/0.197, allocations: 0.5372 MB / 0.9882 GB, free: 12.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.197, allocations: 0 / 0.9882 GB, free: 12.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008652/0.1979, allocations: 420 kB / 0.9886 GB, free: 12.29 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.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 (112): * Single equations (assignments): 112 * 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.0002669/0.1981, allocations: 182.8 kB / 0.9888 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008081/0.1989, allocations: 0.638 MB / 0.9894 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.1989, allocations: 8.188 kB / 0.9894 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.1992, allocations: 311.4 kB / 0.9897 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.201, allocations: 0.7899 MB / 0.9905 GB, free: 10.37 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.2043, allocations: 3.033 MB / 0.9934 GB, free: 7.105 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2046, allocations: 354.9 kB / 0.9938 GB, free: 6.734 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007212/0.2053, allocations: 239.3 kB / 0.994 GB, free: 6.496 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/0.2064, allocations: 0.6383 MB / 0.9946 GB, free: 5.855 MB / 0.948 GB Notification: Performance of SimCode: time 1.343e-06/0.2064, allocations: 4 kB / 0.9946 GB, free: 5.852 MB / 0.948 GB Notification: Performance of Templates: time 0.04003/0.2464, allocations: 29.51 MB / 1.023 GB, free: 9.02 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.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.616802207194269]