Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001187/0.001187, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001368/0.001368, allocations: 192.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 62.09 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3054, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9783/1.284, allocations: 222.6 MB / 1.168 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02224/1.306, allocations: 12.11 MB / 1.18 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004858/1.311, allocations: 74.75 kB / 1.18 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003502/1.315, allocations: 0.8494 MB / 1.181 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01102/1.326, allocations: 2.869 MB / 1.184 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005332/1.331, allocations: 1.433 MB / 1.185 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01025/1.341, allocations: 4.457 MB / 1.19 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004393/1.346, allocations: 1.719 MB / 1.191 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008842/1.355, allocations: 2.467 MB / 1.194 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004634/1.359, allocations: 1.557 MB / 1.195 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001288/1.361, allocations: 180.7 kB / 1.196 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008058/1.369, allocations: 2.165 MB / 1.198 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002158/1.371, allocations: 0.7005 MB / 1.198 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004054/1.375, allocations: 1.05 MB / 1.199 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/1.385, allocations: 3.323 MB / 1.203 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.385, allocations: 0 / 1.203 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.342e-06/1.385, allocations: 7.938 kB / 1.203 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.192e-05/1.385, allocations: 0 / 1.203 GB, free: 2.27 MB / 0.8731 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.005631/1.391, allocations: 2.279 MB / 1.205 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.391, allocations: 11.38 kB / 1.205 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003376/1.394, allocations: 0.4993 MB / 1.205 GB, free: 424 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/1.398, allocations: 1.336 MB / 1.207 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/1.398, allocations: 113.7 kB / 1.207 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/1.398, allocations: 143.1 kB / 1.207 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003408/1.402, allocations: 1.766 MB / 1.209 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/1.402, allocations: 6.719 kB / 1.209 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.402, allocations: 61.23 kB / 1.209 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/1.402, allocations: 50.08 kB / 1.209 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/1.404, allocations: 1.405 MB / 1.21 GB, free: 13.43 MB / 0.8887 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.01013/1.414, allocations: 7.283 MB / 1.217 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/1.416, allocations: 1.052 MB / 1.218 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009805/1.417, allocations: 0.6934 MB / 1.219 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/1.417, allocations: 105.1 kB / 1.219 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/1.417, allocations: 55.2 kB / 1.219 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001393/1.419, allocations: 312.4 kB / 1.219 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=106): time 6.422e-06/1.419, allocations: 0 / 1.219 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of matching and sorting (n=112): time 0.008874/1.428, allocations: 4.451 MB / 1.224 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.428, allocations: 167.4 kB / 1.224 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/1.43, allocations: 1.262 MB / 1.225 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/1.43, allocations: 49.52 kB / 1.225 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006265/1.431, allocations: 0.6995 MB / 1.226 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005726/1.431, allocations: 405.6 kB / 1.226 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004553/1.432, allocations: 261.3 kB / 1.226 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.432, allocations: 366.8 kB / 1.227 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009825/1.433, allocations: 0.5285 MB / 1.227 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/1.434, allocations: 0.8574 MB / 1.228 GB, free: 15.84 MB / 0.9044 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.01194/1.446, allocations: 4.787 MB / 1.233 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.446, allocations: 7.281 kB / 1.233 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003015/1.449, allocations: 1.611 MB / 1.234 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.449, allocations: 8 kB / 1.234 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/1.449, allocations: 12 kB / 1.234 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/1.449, allocations: 12.75 kB / 1.234 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.45, allocations: 295.5 kB / 1.235 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/1.45, allocations: 19.94 kB / 1.235 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/1.452, allocations: 52.95 kB / 1.235 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.452, allocations: 63.97 kB / 1.235 GB, free: 11.45 MB / 0.9044 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 (169): * Single equations (assignments): 169 * 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.0009246/1.453, allocations: 424 kB / 1.235 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004131/1.454, allocations: 166 kB / 1.235 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/1.456, allocations: 1.291 MB / 1.237 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.456, allocations: 16 kB / 1.237 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.456, allocations: 3.938 kB / 1.237 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/1.458, allocations: 1.248 MB / 1.238 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006715/1.464, allocations: 3.76 MB / 1.242 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/1.464, allocations: 16 kB / 1.242 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.465, allocations: 247.6 kB / 1.242 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.927e-05/1.465, allocations: 16.72 kB / 1.242 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-05/1.466, allocations: 39.94 kB / 1.242 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.721e-05/1.466, allocations: 23.92 kB / 1.242 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/1.466, allocations: 16.02 kB / 1.242 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/1.469, allocations: 2.125 MB / 1.244 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.47, allocations: 355 kB / 1.244 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/1.47, allocations: 43.92 kB / 1.244 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.471, allocations: 47.97 kB / 1.244 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.471, allocations: 104.3 kB / 1.245 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/1.471, allocations: 51.98 kB / 1.245 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001225/1.473, allocations: 0.849 MB / 1.245 GB, free: 204 kB / 0.9044 GB Notification: Performance of sort global known variables: time 3.81e-07/1.473, allocations: 4 kB / 1.245 GB, free: 200 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001646/1.474, allocations: 436 kB / 1.246 GB, free: 15.77 MB / 0.92 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.0005427/1.475, allocations: 253.9 kB / 1.246 GB, free: 15.53 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002173/1.477, allocations: 1.243 MB / 1.247 GB, free: 14.29 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.477, allocations: 4 kB / 1.247 GB, free: 14.28 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009285/1.478, allocations: 0.5485 MB / 1.248 GB, free: 13.74 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/1.482, allocations: 0.9366 MB / 1.249 GB, free: 12.82 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/1.488, allocations: 3.391 MB / 1.252 GB, free: 9.27 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.489, allocations: 1.38 MB / 1.253 GB, free: 7.863 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001637/1.491, allocations: 385.3 kB / 1.254 GB, free: 7.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/1.491, allocations: 127.4 kB / 1.254 GB, free: 7.355 MB / 0.92 GB Notification: Performance of SimCode: time 2.555e-06/1.491, allocations: 112 / 1.254 GB, free: 7.355 MB / 0.92 GB Notification: Performance of Templates: time 0.05647/1.548, allocations: 30.34 MB / 1.284 GB, free: 9.461 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches