Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001457/0.001457, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001674/0.001674, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.038/1.038, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.117/2.117, allocations: 429.5 MB / 0.6732 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.491e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.1523/0.1523, allocations: 155.1 MB / 1.03 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.1644, allocations: 5.261 MB / 1.035 GB, free: 5.312 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00405/0.1684, allocations: 99.12 kB / 1.035 GB, free: 5.215 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.171, allocations: 468.3 kB / 1.035 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006766/0.1778, allocations: 1.616 MB / 1.037 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.1824, allocations: 1.29 MB / 1.038 GB, free: 1.836 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.008788/0.1912, allocations: 4.462 MB / 1.043 GB, free: 13.36 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.194, allocations: 1.355 MB / 1.044 GB, free: 11.98 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005661/0.1997, allocations: 2.121 MB / 1.046 GB, free: 9.871 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/0.2033, allocations: 1.497 MB / 1.047 GB, free: 8.414 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0006251/0.2039, allocations: 180 kB / 1.048 GB, free: 8.238 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.206, allocations: 0.5497 MB / 1.048 GB, free: 7.688 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.2071, allocations: 0.779 MB / 1.049 GB, free: 6.906 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.2085, allocations: 0.7444 MB / 1.05 GB, free: 6.16 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.2121, allocations: 1.884 MB / 1.051 GB, free: 4.27 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2121, allocations: 0 / 1.051 GB, free: 4.27 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2121, allocations: 0 / 1.051 GB, free: 4.27 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.273e-05/0.2121, allocations: 0 / 1.051 GB, free: 4.27 MB / 1.01 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.003687/0.2158, allocations: 2.242 MB / 1.054 GB, free: 1.984 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.2159, allocations: 11.97 kB / 1.054 GB, free: 1.973 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.2186, allocations: 0.6627 MB / 1.054 GB, free: 1.309 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6086/0.8272, allocations: 1.265 MB / 1.056 GB, free: 78.78 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.8274, allocations: 108.8 kB / 1.056 GB, free: 78.77 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004003/0.8278, allocations: 160.8 kB / 1.056 GB, free: 78.77 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.8296, allocations: 1.671 MB / 1.057 GB, free: 77.89 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.8296, allocations: 5.781 kB / 1.057 GB, free: 77.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.156e-05/0.8297, allocations: 62.62 kB / 1.058 GB, free: 77.89 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-05/0.8298, allocations: 60.11 kB / 1.058 GB, free: 77.88 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.8308, allocations: 0.6485 MB / 1.058 GB, free: 77.86 MB / 1.01 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.005299/0.8361, allocations: 6.635 MB / 1.065 GB, free: 74 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00083/0.8369, allocations: 0.6845 MB / 1.065 GB, free: 73.82 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004018/0.8373, allocations: 363.8 kB / 1.066 GB, free: 73.75 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.8375, allocations: 47.12 kB / 1.066 GB, free: 73.75 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.8375, allocations: 57.58 kB / 1.066 GB, free: 73.7 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007823/0.8383, allocations: 309.7 kB / 1.066 GB, free: 73.68 MB / 1.01 GB Notification: Performance of pre-optimization done (n=106): time 6.683e-06/0.8383, allocations: 4.094 kB / 1.066 GB, free: 73.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=112): time 0.004575/0.8429, allocations: 3.163 MB / 1.069 GB, free: 72.43 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.843, allocations: 169.8 kB / 1.069 GB, free: 72.24 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009529/0.8439, allocations: 0.9594 MB / 1.07 GB, free: 72.03 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.844, allocations: 46.83 kB / 1.07 GB, free: 72 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.8444, allocations: 0.7888 MB / 1.071 GB, free: 71.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.8447, allocations: 419.3 kB / 1.071 GB, free: 71.48 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/0.845, allocations: 256.8 kB / 1.072 GB, free: 71.45 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8451, allocations: 0.5284 MB / 1.072 GB, free: 70.97 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.8455, allocations: 213.9 kB / 1.072 GB, free: 70.97 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.8461, allocations: 0.8137 MB / 1.073 GB, free: 70.27 MB / 1.01 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.002436/0.8485, allocations: 1.922 MB / 1.075 GB, free: 69.79 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.8485, allocations: 2.938 kB / 1.075 GB, free: 69.79 MB / 1.01 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00141/0.8499, allocations: 1.035 MB / 1.076 GB, free: 69.66 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.8499, allocations: 10.78 kB / 1.076 GB, free: 69.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.85, allocations: 14.67 kB / 1.076 GB, free: 69.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.85, allocations: 14.22 kB / 1.076 GB, free: 69.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.8506, allocations: 282.1 kB / 1.076 GB, free: 69.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.727e-05/0.8507, allocations: 20.05 kB / 1.076 GB, free: 69.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.8514, allocations: 52.53 kB / 1.077 GB, free: 69.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/0.8514, allocations: 58.72 kB / 1.077 GB, free: 69.65 MB / 1.01 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.0004294/0.8519, allocations: 252.4 kB / 1.077 GB, free: 69.49 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.8521, allocations: 180.8 kB / 1.077 GB, free: 69.42 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.8532, allocations: 0.837 MB / 1.078 GB, free: 69.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.8532, allocations: 14.81 kB / 1.078 GB, free: 69.34 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.8533, allocations: 3.406 kB / 1.078 GB, free: 69.34 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007821/0.854, allocations: 0.8156 MB / 1.079 GB, free: 68.97 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.8574, allocations: 2.979 MB / 1.082 GB, free: 67.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.8574, allocations: 8.938 kB / 1.082 GB, free: 67.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.8581, allocations: 253.3 kB / 1.082 GB, free: 67.65 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.8581, allocations: 15.53 kB / 1.082 GB, free: 67.65 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/0.8581, allocations: 40.05 kB / 1.082 GB, free: 67.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/0.8581, allocations: 20.03 kB / 1.082 GB, free: 67.65 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.8582, allocations: 17.55 kB / 1.082 GB, free: 67.65 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.8596, allocations: 1.553 MB / 1.083 GB, free: 66.81 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.86, allocations: 262.2 kB / 1.084 GB, free: 66.73 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.8601, allocations: 39.22 kB / 1.084 GB, free: 66.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/0.8606, allocations: 43.84 kB / 1.084 GB, free: 66.73 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.8607, allocations: 100.6 kB / 1.084 GB, free: 66.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.8608, allocations: 50.38 kB / 1.084 GB, free: 66.72 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005178/0.8613, allocations: 0.5757 MB / 1.084 GB, free: 66.57 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8613, allocations: 0 / 1.084 GB, free: 66.57 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001207/0.8625, allocations: 428.1 kB / 1.085 GB, free: 66.57 MB / 1.01 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.0003871/0.8629, allocations: 188.7 kB / 1.085 GB, free: 66.48 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.8643, allocations: 0.7181 MB / 1.086 GB, free: 66.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.8643, allocations: 3.406 kB / 1.086 GB, free: 66.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.8648, allocations: 347.7 kB / 1.086 GB, free: 66.44 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.8676, allocations: 0.7792 MB / 1.087 GB, free: 66.39 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.8727, allocations: 3.049 MB / 1.09 GB, free: 64.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.8731, allocations: 357.2 kB / 1.09 GB, free: 64.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001275/0.8744, allocations: 296.5 kB / 1.09 GB, free: 64.61 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.8748, allocations: 118.4 kB / 1.091 GB, free: 64.61 MB / 1.01 GB Notification: Performance of SimCode: time 2.084e-06/0.8748, allocations: 1.094 kB / 1.091 GB, free: 64.61 MB / 1.01 GB Notification: Performance of Templates: time 0.04868/0.9234, allocations: 27.3 MB / 1.117 GB, free: 61.91 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.964548071846366]