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.001494/0.001494, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.00121/0.00121, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9805/0.9805, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.724/1.724, allocations: 359 MB / 0.6052 GB, free: 10.98 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 2.013e-06/2.013e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.575e-05, allocations: 10.25 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.1514/0.1514, allocations: 155 MB / 0.9385 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.009346/0.1608, allocations: 5.265 MB / 0.9437 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.1633, allocations: 99.19 kB / 0.9438 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.165, allocations: 468.3 kB / 0.9442 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.1691, allocations: 1.635 MB / 0.9458 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.1719, allocations: 1.29 MB / 0.9471 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.005629/0.1775, allocations: 4.492 MB / 0.9515 GB, free: 3.633 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.1799, allocations: 1.402 MB / 0.9528 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005441/0.1854, allocations: 2.556 MB / 0.9553 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.1876, allocations: 1.406 MB / 0.9567 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0005775/0.1882, allocations: 176 kB / 0.9569 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.1895, allocations: 487 kB / 0.9573 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006961/0.1902, allocations: 0.7673 MB / 0.9581 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.1914, allocations: 0.7289 MB / 0.9588 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.1943, allocations: 1.841 MB / 0.9606 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1943, allocations: 4 kB / 0.9606 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.324e-06/0.1943, allocations: 0 / 0.9606 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.956e-05/0.1944, allocations: 0 / 0.9606 GB, free: 10.34 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.003353/0.1978, allocations: 2.227 MB / 0.9628 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1978, allocations: 8.031 kB / 0.9628 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.1997, allocations: 0.6315 MB / 0.9634 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.2015, allocations: 1.235 MB / 0.9646 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/0.2015, allocations: 110.9 kB / 0.9647 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.2017, allocations: 156 kB / 0.9649 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.2037, allocations: 1.68 MB / 0.9665 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.2037, allocations: 7.938 kB / 0.9665 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.93e-05/0.2038, allocations: 60 kB / 0.9666 GB, free: 3.906 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.754e-05/0.2039, allocations: 50.55 kB / 0.9666 GB, free: 3.855 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.205, allocations: 0.6469 MB / 0.9672 GB, free: 3.195 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.006197/0.2112, allocations: 6.622 MB / 0.9737 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009285/0.2121, allocations: 0.6815 MB / 0.9744 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.2126, allocations: 366.2 kB / 0.9747 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.2127, allocations: 36.98 kB / 0.9748 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.2128, allocations: 54.39 kB / 0.9748 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008002/0.2136, allocations: 315.1 kB / 0.9751 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=103): time 5.871e-06/0.2136, allocations: 0 / 0.9751 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109): time 0.005246/0.2188, allocations: 3.297 MB / 0.9783 GB, free: 7.535 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.2189, allocations: 171.2 kB / 0.9785 GB, free: 7.332 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008705/0.2198, allocations: 0.9689 MB / 0.9794 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.2199, allocations: 45.7 kB / 0.9795 GB, free: 6.301 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.2203, allocations: 0.797 MB / 0.9803 GB, free: 5.492 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.2206, allocations: 408.5 kB / 0.9807 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.2208, allocations: 248.5 kB / 0.9809 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.221, allocations: 0.5316 MB / 0.9814 GB, free: 4.301 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.2213, allocations: 214.6 kB / 0.9816 GB, free: 4.09 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.2219, allocations: 0.7159 MB / 0.9823 GB, free: 3.195 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.002393/0.2243, allocations: 1.911 MB / 0.9842 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.2243, allocations: 0 / 0.9842 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00134/0.2257, allocations: 1.019 MB / 0.9852 GB, free: 108 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.2257, allocations: 8 kB / 0.9852 GB, free: 100 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.2257, allocations: 8.906 kB / 0.9852 GB, free: 92 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.2257, allocations: 12 kB / 0.9852 GB, free: 80 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/0.2264, allocations: 287.5 kB / 0.9855 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.2264, allocations: 19.94 kB / 0.9855 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.227, allocations: 39.98 kB / 0.9855 GB, free: 15.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/0.2271, allocations: 63.86 kB / 0.9856 GB, free: 15.68 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 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.0003939/0.2275, allocations: 250.4 kB / 0.9858 GB, free: 15.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.2277, allocations: 179.1 kB / 0.986 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.2288, allocations: 0.82 MB / 0.9868 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.2288, allocations: 12 kB / 0.9868 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2288, allocations: 4 kB / 0.9868 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007413/0.2295, allocations: 0.7993 MB / 0.9876 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.233, allocations: 2.974 MB / 0.9905 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.233, allocations: 12 kB / 0.9905 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.2336, allocations: 239.6 kB / 0.9907 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.579e-05/0.2336, allocations: 19.98 kB / 0.9908 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.2337, allocations: 36 kB / 0.9908 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/0.2337, allocations: 19.92 kB / 0.9908 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.2337, allocations: 20.31 kB / 0.9908 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.2353, allocations: 1.53 MB / 0.9923 GB, free: 8.273 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/0.2357, allocations: 250.9 kB / 0.9926 GB, free: 8.027 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.2358, allocations: 39.98 kB / 0.9926 GB, free: 7.988 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.2363, allocations: 39.98 kB / 0.9926 GB, free: 7.949 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.2364, allocations: 104.2 kB / 0.9927 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/0.2365, allocations: 59.97 kB / 0.9928 GB, free: 7.789 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005157/0.237, allocations: 0.5765 MB / 0.9934 GB, free: 7.207 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.237, allocations: 0 / 0.9934 GB, free: 7.207 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00116/0.2381, allocations: 420 kB / 0.9938 GB, free: 6.797 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.0003466/0.2385, allocations: 190.8 kB / 0.994 GB, free: 6.598 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.2396, allocations: 0.7042 MB / 0.9946 GB, free: 5.891 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.2396, allocations: 0 / 0.9946 GB, free: 5.891 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.2399, allocations: 351.7 kB / 0.995 GB, free: 5.551 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.2419, allocations: 0.7812 MB / 0.9957 GB, free: 4.785 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.2462, allocations: 3.052 MB / 0.9987 GB, free: 1.504 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.2466, allocations: 354.9 kB / 0.9991 GB, free: 1.133 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001113/0.2477, allocations: 291.3 kB / 0.9993 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.248, allocations: 120.5 kB / 0.9994 GB, free: 0.7266 MB / 0.948 GB Notification: Performance of SimCode: time 4.258e-06/0.2481, allocations: 0 / 0.9994 GB, free: 0.7266 MB / 0.948 GB Notification: Performance of Templates: time 0.03656/0.2846, allocations: 28.85 MB / 1.028 GB, free: 4.484 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.845891893841326]