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.0009724/0.0009724, 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.0009843/0.0009843, allocations: 161 kB / 23.82 MB, free: 0.75 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.9281/0.9281, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.817/1.817, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.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.363e-06/1.363e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.673e-05, allocations: 4.406 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.1383/0.1383, allocations: 155.1 MB / 0.9631 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.008119/0.1464, allocations: 5.283 MB / 0.9682 GB, free: 0.7773 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.1475, allocations: 99.19 kB / 0.9683 GB, free: 0.6797 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.1483, allocations: 476.2 kB / 0.9688 GB, free: 216 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.1505, allocations: 1.616 MB / 0.9704 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.1521, allocations: 1.294 MB / 0.9716 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003385/0.1555, allocations: 4.487 MB / 0.976 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.157, allocations: 1.421 MB / 0.9774 GB, free: 7.336 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/0.1601, allocations: 2.54 MB / 0.9799 GB, free: 4.914 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.1615, allocations: 1.387 MB / 0.9812 GB, free: 3.523 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.1618, allocations: 180 kB / 0.9814 GB, free: 3.348 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007284/0.1625, allocations: 483.1 kB / 0.9819 GB, free: 2.875 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004676/0.163, allocations: 0.7673 MB / 0.9826 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.1636, allocations: 0.7366 MB / 0.9833 GB, free: 1.367 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.1651, allocations: 1.841 MB / 0.9851 GB, free: 15.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1651, allocations: 3.938 kB / 0.9851 GB, free: 15.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1651, allocations: 0 / 0.9851 GB, free: 15.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.834e-05/0.1652, allocations: 0 / 0.9851 GB, free: 15.52 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.002229/0.1674, allocations: 2.231 MB / 0.9873 GB, free: 13.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1674, allocations: 8.031 kB / 0.9873 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.169, allocations: 0.6237 MB / 0.9879 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.1703, allocations: 1.239 MB / 0.9891 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.1704, allocations: 114.9 kB / 0.9892 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.1705, allocations: 159.9 kB / 0.9894 GB, free: 11.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.1721, allocations: 1.673 MB / 0.991 GB, free: 9.148 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.1722, allocations: 3.938 kB / 0.991 GB, free: 9.145 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/0.1723, allocations: 63.98 kB / 0.9911 GB, free: 9.082 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.1723, allocations: 58.53 kB / 0.9912 GB, free: 9.023 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/0.1733, allocations: 0.6469 MB / 0.9918 GB, free: 8.367 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.005024/0.1783, allocations: 6.622 MB / 0.9983 GB, free: 1.559 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008647/0.1792, allocations: 0.6788 MB / 0.9989 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.1796, allocations: 362.6 kB / 0.9993 GB, free: 452 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.1797, allocations: 45.09 kB / 0.9993 GB, free: 408 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1798, allocations: 54.39 kB / 0.9994 GB, free: 344 kB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006221/0.1804, allocations: 311.1 kB / 0.9997 GB, free: 32 kB / 0.948 GB Notification: Performance of pre-optimization done (n=103): time 2.935e-06/0.1804, allocations: 0 / 0.9997 GB, free: 32 kB / 0.948 GB Notification: Performance of matching and sorting (n=109): time 0.004491/0.1849, allocations: 3.302 MB / 1.003 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.1849, allocations: 175.3 kB / 1.003 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007696/0.1857, allocations: 0.9573 MB / 1.004 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.1858, allocations: 53.7 kB / 1.004 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.1862, allocations: 0.7931 MB / 1.005 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.1865, allocations: 408.5 kB / 1.005 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.1867, allocations: 252.5 kB / 1.005 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1869, allocations: 0.5316 MB / 1.006 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.1872, allocations: 210.5 kB / 1.006 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.1878, allocations: 0.7081 MB / 1.007 GB, free: 8.363 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.002326/0.1901, allocations: 1.911 MB / 1.009 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1901, allocations: 0 / 1.009 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001163/0.1912, allocations: 1.028 MB / 1.01 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1913, allocations: 8 kB / 1.01 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1913, allocations: 12 kB / 1.01 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1913, allocations: 12 kB / 1.01 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.1919, allocations: 275.5 kB / 1.01 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.1919, allocations: 24.42 kB / 1.01 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.1924, allocations: 47.94 kB / 1.01 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/0.1925, allocations: 63.92 kB / 1.01 GB, free: 4.84 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 (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.0002647/0.1927, allocations: 240.2 kB / 1.01 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.1929, allocations: 179.1 kB / 1.011 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.1941, allocations: 0.8276 MB / 1.011 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1942, allocations: 12 kB / 1.011 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1942, allocations: 0 / 1.011 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007026/0.1949, allocations: 0.7994 MB / 1.012 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.1977, allocations: 2.963 MB / 1.015 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.1977, allocations: 19.97 kB / 1.015 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.1983, allocations: 239.6 kB / 1.015 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.1983, allocations: 16 kB / 1.015 GB, free: 15.24 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.1983, allocations: 35.98 kB / 1.015 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.1983, allocations: 19.94 kB / 1.015 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.1983, allocations: 19.88 kB / 1.015 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.1997, allocations: 1.538 MB / 1.017 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.2, allocations: 254.9 kB / 1.017 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.2001, allocations: 39.98 kB / 1.017 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.2007, allocations: 39.98 kB / 1.017 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.2008, allocations: 104.2 kB / 1.017 GB, free: 13 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.2008, allocations: 55.98 kB / 1.017 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004791/0.2013, allocations: 0.5765 MB / 1.018 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.2013, allocations: 4 kB / 1.018 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000722/0.202, allocations: 415.9 kB / 1.018 GB, free: 11.96 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 (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.0002632/0.2023, allocations: 190.3 kB / 1.018 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008841/0.2032, allocations: 0.7007 MB / 1.019 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2032, allocations: 0 / 1.019 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.2035, allocations: 354.6 kB / 1.02 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.2054, allocations: 0.7969 MB / 1.02 GB, free: 9.945 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.2087, allocations: 3.048 MB / 1.023 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.209, allocations: 354.9 kB / 1.024 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006706/0.2096, allocations: 299.3 kB / 1.024 GB, free: 5.996 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.2099, allocations: 120.5 kB / 1.024 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of SimCode: time 1.293e-06/0.2099, allocations: 0 / 1.024 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of Templates: time 0.3675/0.5774, allocations: 28.83 MB / 1.052 GB, free: 126.7 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.165839265100658]