Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001131/0.001131, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00125/0.00125, allocations: 161 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.9811/0.9811, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.884/1.884, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.858e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.1437/0.1437, allocations: 155.1 MB / 0.9631 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.008039/0.1517, allocations: 5.275 MB / 0.9682 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008062/0.1525, allocations: 103.1 kB / 0.9683 GB, free: 0.6797 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009094/0.1534, allocations: 464.3 kB / 0.9688 GB, free: 228 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.1558, allocations: 1.624 MB / 0.9704 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.158, allocations: 1.29 MB / 0.9716 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004263/0.1623, allocations: 4.494 MB / 0.976 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.1638, allocations: 1.398 MB / 0.9774 GB, free: 7.359 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.1666, allocations: 2.132 MB / 0.9794 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.1686, allocations: 1.492 MB / 0.9809 GB, free: 3.801 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.1689, allocations: 180 kB / 0.9811 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1699, allocations: 0.5535 MB / 0.9816 GB, free: 3.07 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0006036/0.1705, allocations: 0.7829 MB / 0.9824 GB, free: 2.285 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0007362/0.1712, allocations: 0.7444 MB / 0.9831 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.1733, allocations: 1.888 MB / 0.985 GB, free: 15.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1733, allocations: 0 / 0.985 GB, free: 15.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1733, allocations: 0 / 0.985 GB, free: 15.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.1733, allocations: 0 / 0.985 GB, free: 15.64 MB / 0.948 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.00285/0.1761, allocations: 2.254 MB / 0.9872 GB, free: 13.35 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1762, allocations: 8.031 kB / 0.9872 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.1785, allocations: 0.6549 MB / 0.9878 GB, free: 12.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.1803, allocations: 1.285 MB / 0.9891 GB, free: 11.35 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.1804, allocations: 110.7 kB / 0.9892 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.1806, allocations: 152 kB / 0.9893 GB, free: 11.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.1826, allocations: 1.676 MB / 0.9909 GB, free: 9.184 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.1826, allocations: 11.94 kB / 0.991 GB, free: 9.172 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.1827, allocations: 63.98 kB / 0.991 GB, free: 9.109 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.1828, allocations: 54.55 kB / 0.9911 GB, free: 9.055 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.1841, allocations: 0.6508 MB / 0.9917 GB, free: 8.395 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.006189/0.1903, allocations: 6.632 MB / 0.9982 GB, free: 1.574 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1913, allocations: 0.6836 MB / 0.9988 GB, free: 0.832 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.1919, allocations: 366.6 kB / 0.9992 GB, free: 460 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.192, allocations: 40.92 kB / 0.9992 GB, free: 420 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.1921, allocations: 58.33 kB / 0.9993 GB, free: 352 kB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000834/0.1929, allocations: 315.2 kB / 0.9996 GB, free: 36 kB / 0.948 GB Notification: Performance of pre-optimization done (n=106): time 3.467e-06/0.1929, allocations: 0 / 0.9996 GB, free: 36 kB / 0.948 GB Notification: Performance of matching and sorting (n=112): time 0.005421/0.1983, allocations: 3.178 MB / 1.003 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.1984, allocations: 167.2 kB / 1.003 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009712/0.1994, allocations: 0.9612 MB / 1.004 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.1994, allocations: 49.7 kB / 1.004 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/0.1999, allocations: 0.7893 MB / 1.005 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.2002, allocations: 424.4 kB / 1.005 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.2005, allocations: 256.6 kB / 1.005 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2007, allocations: 0.5316 MB / 1.006 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.2011, allocations: 218.5 kB / 1.006 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/0.202, allocations: 0.8185 MB / 1.007 GB, free: 8.336 MB / 0.9636 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.002627/0.2047, allocations: 1.923 MB / 1.009 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.2047, allocations: 4 kB / 1.009 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001204/0.2059, allocations: 1.036 MB / 1.01 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2059, allocations: 12.19 kB / 1.01 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2059, allocations: 8 kB / 1.01 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.2059, allocations: 16 kB / 1.01 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.2065, allocations: 283.5 kB / 1.01 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.2066, allocations: 15.98 kB / 1.01 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.2071, allocations: 51.78 kB / 1.01 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.2072, allocations: 63.92 kB / 1.01 GB, free: 4.785 MB / 0.9636 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 (163): * Single equations (assignments): 163 * 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.0002753/0.2074, allocations: 244.2 kB / 1.01 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.2076, allocations: 187.1 kB / 1.011 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.2087, allocations: 0.8395 MB / 1.011 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.2087, allocations: 12 kB / 1.011 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2087, allocations: 4 kB / 1.011 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007593/0.2094, allocations: 0.8072 MB / 1.012 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.2126, allocations: 2.981 MB / 1.015 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.2126, allocations: 12 kB / 1.015 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.2132, allocations: 248.4 kB / 1.015 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.2132, allocations: 16 kB / 1.015 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.2133, allocations: 40 kB / 1.015 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.2133, allocations: 19.92 kB / 1.015 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.2133, allocations: 16.02 kB / 1.015 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.2147, allocations: 1.564 MB / 1.017 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.2151, allocations: 258.9 kB / 1.017 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-05/0.2152, allocations: 39.98 kB / 1.017 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.2156, allocations: 43.97 kB / 1.017 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.2157, allocations: 116.2 kB / 1.017 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.648e-05/0.2158, allocations: 47.98 kB / 1.017 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004588/0.2162, allocations: 0.5765 MB / 1.018 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.2162, allocations: 0 / 1.018 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007273/0.217, allocations: 424 kB / 1.018 GB, free: 11.81 MB / 0.9792 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 (115): * Single equations (assignments): 115 * 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.0002451/0.2172, allocations: 187.7 kB / 1.019 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008909/0.2181, allocations: 0.715 MB / 1.019 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2181, allocations: 4 kB / 1.019 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.2185, allocations: 355.6 kB / 1.02 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.2205, allocations: 0.7949 MB / 1.02 GB, free: 9.777 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.2235, allocations: 3.049 MB / 1.023 GB, free: 6.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2237, allocations: 363 kB / 1.024 GB, free: 6.121 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000588/0.2243, allocations: 303.4 kB / 1.024 GB, free: 5.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.2246, allocations: 116.5 kB / 1.024 GB, free: 5.707 MB / 0.9792 GB Notification: Performance of SimCode: time 7.41e-07/0.2246, allocations: 0 / 1.024 GB, free: 5.707 MB / 0.9792 GB Notification: Performance of Templates: time 0.402/0.6266, allocations: 27.41 MB / 1.051 GB, free: 126.3 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 6.351781167089939]