Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 12 kB / 0.8722 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6052/0.6056, allocations: 153.8 MB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2078/0.8134, allocations: 202.8 MB / 1.22 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.8288, allocations: 11.38 MB / 1.232 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.8306, allocations: 67.56 kB / 1.232 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.8323, allocations: 0.5782 MB / 1.232 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.8378, allocations: 2.123 MB / 1.234 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.8408, allocations: 1.026 MB / 1.235 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006207/0.847, allocations: 5.139 MB / 1.24 GB, free: 416 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5623/1.409, allocations: 1.309 MB / 1.242 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005346/1.415, allocations: 1.94 MB / 1.243 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003245/1.418, allocations: 1.438 MB / 1.245 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00047/1.418, allocations: 84.06 kB / 1.245 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/1.422, allocations: 1.06 MB / 1.246 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009886/1.423, allocations: 0.5872 MB / 1.247 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.424, allocations: 383.5 kB / 1.247 GB, free: 25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003729/1.428, allocations: 2.247 MB / 1.249 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.428, allocations: 0.75 kB / 1.249 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.464e-06/1.428, allocations: 0.5938 kB / 1.249 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.003e-05/1.428, allocations: 0 / 1.249 GB, free: 24.89 MB / 0.9981 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.004329/1.433, allocations: 1.918 MB / 1.251 GB, free: 23.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.433, allocations: 9.375 kB / 1.251 GB, free: 23.87 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/1.436, allocations: 0.498 MB / 1.251 GB, free: 23.76 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/1.439, allocations: 1.214 MB / 1.253 GB, free: 23.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/1.439, allocations: 108.4 kB / 1.253 GB, free: 23.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/1.439, allocations: 151.5 kB / 1.253 GB, free: 23.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/1.443, allocations: 1.75 MB / 1.255 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/1.443, allocations: 4.812 kB / 1.255 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/1.443, allocations: 63.94 kB / 1.255 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.097e-05/1.443, allocations: 51.91 kB / 1.255 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/1.445, allocations: 1.388 MB / 1.256 GB, free: 23.04 MB / 0.9981 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.0103/1.456, allocations: 7.322 MB / 1.263 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/1.457, allocations: 1.044 MB / 1.264 GB, free: 18.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009258/1.458, allocations: 0.6882 MB / 1.265 GB, free: 18.88 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/1.458, allocations: 114.4 kB / 1.265 GB, free: 18.79 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/1.459, allocations: 59.53 kB / 1.265 GB, free: 18.74 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00148/1.46, allocations: 301.3 kB / 1.265 GB, free: 18.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 4.378e-06/1.46, allocations: 0 / 1.265 GB, free: 18.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.008225/1.468, allocations: 4.416 MB / 1.27 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/1.468, allocations: 174.4 kB / 1.27 GB, free: 17.13 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.47, allocations: 1.253 MB / 1.271 GB, free: 16.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/1.47, allocations: 53.83 kB / 1.271 GB, free: 16.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/1.471, allocations: 0.6984 MB / 1.272 GB, free: 16.67 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/1.471, allocations: 405.6 kB / 1.272 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/1.471, allocations: 26.84 kB / 1.272 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.471, allocations: 355.9 kB / 1.273 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007222/1.472, allocations: 0.5113 MB / 1.273 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/1.473, allocations: 0.8429 MB / 1.274 GB, free: 15.77 MB / 0.9981 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008545/1.481, allocations: 3.495 MB / 1.277 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.481, allocations: 3.594 kB / 1.277 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002298/1.484, allocations: 1.6 MB / 1.279 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.484, allocations: 9.688 kB / 1.279 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.484, allocations: 7.844 kB / 1.279 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/1.484, allocations: 14.69 kB / 1.279 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.485, allocations: 293.8 kB / 1.279 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/1.485, allocations: 20.52 kB / 1.279 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.486, allocations: 114.4 kB / 1.279 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.486, allocations: 60.16 kB / 1.279 GB, free: 15.22 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (169): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007872/1.487, allocations: 431.2 kB / 1.28 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/1.487, allocations: 164.4 kB / 1.28 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/1.489, allocations: 1.273 MB / 1.281 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.489, allocations: 18.25 kB / 1.281 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.489, allocations: 2.125 kB / 1.281 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/1.491, allocations: 1.219 MB / 1.282 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/1.496, allocations: 3.74 MB / 1.286 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.496, allocations: 11.56 kB / 1.286 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.497, allocations: 249.4 kB / 1.286 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/1.497, allocations: 20.98 kB / 1.286 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.482e-05/1.497, allocations: 40.28 kB / 1.286 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/1.497, allocations: 20.03 kB / 1.286 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.497, allocations: 14.72 kB / 1.286 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/1.499, allocations: 2.094 MB / 1.288 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006737/1.5, allocations: 355.9 kB / 1.289 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/1.5, allocations: 44.27 kB / 1.289 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.501, allocations: 93.52 kB / 1.289 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.502, allocations: 101.2 kB / 1.289 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.802e-05/1.502, allocations: 54.34 kB / 1.289 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009827/1.503, allocations: 0.8399 MB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.503, allocations: 0 / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00143/1.504, allocations: 434 kB / 1.29 GB, free: 12.61 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005174/1.505, allocations: 252.8 kB / 1.29 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.506, allocations: 1.203 MB / 1.292 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.506, allocations: 1.906 kB / 1.292 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006709/1.507, allocations: 0.5395 MB / 1.292 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/1.511, allocations: 0.8838 MB / 1.293 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/1.516, allocations: 4.041 MB / 1.297 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.517, allocations: 1.371 MB / 1.298 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001889/1.519, allocations: 384.1 kB / 1.299 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/1.52, allocations: 127.2 kB / 1.299 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.52, allocations: 0 / 1.299 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of Templates: time 0.04197/1.562, allocations: 27.76 MB / 1.326 GB, free: 1.383 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches