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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001148/0.001148, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002011, allocations: 185.2 kB / 16.92 MB, free: 6.922 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.513/1.513, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.914/2.914, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004271, allocations: 11.69 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3635, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9529/1.316, allocations: 217.3 MB / 1.272 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01769/1.334, allocations: 12.08 MB / 1.283 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003038/1.337, allocations: 63.25 kB / 1.283 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/1.34, allocations: 0.7163 MB / 1.284 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009223/1.349, allocations: 2.692 MB / 1.287 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004406/1.354, allocations: 1.284 MB / 1.288 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0105/1.364, allocations: 6.099 MB / 1.294 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003087/1.367, allocations: 1.441 MB / 1.295 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006974/1.374, allocations: 2.149 MB / 1.297 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004808/1.379, allocations: 1.53 MB / 1.299 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005925/1.38, allocations: 78.28 kB / 1.299 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00648/1.386, allocations: 2.445 MB / 1.301 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001153/1.387, allocations: 0.5882 MB / 1.302 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002482/1.39, allocations: 0.9379 MB / 1.303 GB, free: 18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004084/1.394, allocations: 2.408 MB / 1.305 GB, free: 17.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.394, allocations: 0 / 1.305 GB, free: 17.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.335e-06/1.394, allocations: 4.391 kB / 1.305 GB, free: 17.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.648e-05/1.394, allocations: 0 / 1.305 GB, free: 17.82 MB / 1.014 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.004025/1.398, allocations: 1.895 MB / 1.307 GB, free: 16.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.398, allocations: 13.75 kB / 1.307 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/1.401, allocations: 0.4955 MB / 1.308 GB, free: 16.69 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/1.404, allocations: 1.257 MB / 1.309 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.762e-05/1.404, allocations: 109 kB / 1.309 GB, free: 16.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/1.404, allocations: 152.9 kB / 1.309 GB, free: 16.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/1.407, allocations: 1.764 MB / 1.311 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/1.407, allocations: 4.969 kB / 1.311 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/1.407, allocations: 68.61 kB / 1.311 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/1.407, allocations: 52.53 kB / 1.311 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/1.409, allocations: 1.405 MB / 1.312 GB, free: 15.9 MB / 1.014 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.0091/1.419, allocations: 7.304 MB / 1.319 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/1.42, allocations: 1.05 MB / 1.32 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008508/1.421, allocations: 0.6961 MB / 1.321 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/1.421, allocations: 114.8 kB / 1.321 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.421, allocations: 58.48 kB / 1.321 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001384/1.423, allocations: 312.7 kB / 1.322 GB, free: 11.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.789e-06/1.423, allocations: 0 / 1.322 GB, free: 11.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.007949/1.431, allocations: 4.42 MB / 1.326 GB, free: 10.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/1.431, allocations: 169.3 kB / 1.326 GB, free: 9.949 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/1.432, allocations: 1.263 MB / 1.327 GB, free: 9.777 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/1.432, allocations: 53.52 kB / 1.327 GB, free: 9.746 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/1.433, allocations: 0.6969 MB / 1.328 GB, free: 9.492 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/1.433, allocations: 406.6 kB / 1.328 GB, free: 9.234 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/1.433, allocations: 123.1 kB / 1.329 GB, free: 9.219 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.433, allocations: 356.8 kB / 1.329 GB, free: 8.914 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007192/1.434, allocations: 0.5209 MB / 1.329 GB, free: 8.906 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009361/1.435, allocations: 0.8446 MB / 1.33 GB, free: 8.566 MB / 1.014 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.01091/1.446, allocations: 4.767 MB / 1.335 GB, free: 7.871 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.446, allocations: 3.594 kB / 1.335 GB, free: 7.871 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002483/1.449, allocations: 1.602 MB / 1.336 GB, free: 7.719 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/1.449, allocations: 9.656 kB / 1.336 GB, free: 7.719 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.449, allocations: 12.03 kB / 1.336 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/1.449, allocations: 17.09 kB / 1.336 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.45, allocations: 290.8 kB / 1.337 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/1.45, allocations: 19.97 kB / 1.337 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.451, allocations: 107.2 kB / 1.337 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.452, allocations: 59.31 kB / 1.337 GB, free: 7.699 MB / 1.014 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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.0008079/1.452, allocations: 426.9 kB / 1.337 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/1.453, allocations: 163.5 kB / 1.337 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/1.455, allocations: 1.279 MB / 1.339 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.455, allocations: 15.55 kB / 1.339 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/1.455, allocations: 2.938 kB / 1.339 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001392/1.456, allocations: 1.227 MB / 1.34 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005723/1.462, allocations: 3.751 MB / 1.344 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.462, allocations: 11.53 kB / 1.344 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.463, allocations: 244.4 kB / 1.344 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/1.463, allocations: 14.66 kB / 1.344 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/1.463, allocations: 42.58 kB / 1.344 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/1.463, allocations: 20.16 kB / 1.344 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/1.463, allocations: 19.06 kB / 1.344 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/1.466, allocations: 2.111 MB / 1.346 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000754/1.467, allocations: 354.7 kB / 1.346 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/1.467, allocations: 37.2 kB / 1.346 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.468, allocations: 92.48 kB / 1.346 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.468, allocations: 95.38 kB / 1.347 GB, free: 5.148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/1.468, allocations: 59.64 kB / 1.347 GB, free: 5.148 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001049/1.469, allocations: 0.849 MB / 1.347 GB, free: 5.035 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.469, allocations: 4 kB / 1.347 GB, free: 5.031 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001467/1.471, allocations: 441 kB / 1.348 GB, free: 5.027 MB / 1.014 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.0005318/1.471, allocations: 237.4 kB / 1.348 GB, free: 4.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001822/1.473, allocations: 1.213 MB / 1.349 GB, free: 4.883 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.473, allocations: 2.406 kB / 1.349 GB, free: 4.883 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006635/1.474, allocations: 0.5465 MB / 1.35 GB, free: 4.875 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006/1.48, allocations: 0.8905 MB / 1.351 GB, free: 4.691 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/1.485, allocations: 4.235 MB / 1.355 GB, free: 1.992 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009204/1.486, allocations: 1.371 MB / 1.356 GB, free: 1.031 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005618/1.487, allocations: 134.8 kB / 1.356 GB, free: 1.016 MB / 1.014 GB Notification: Performance of SimCode: time 7.22e-07/1.487, allocations: 0 / 1.356 GB, free: 1.016 MB / 1.014 GB Notification: Performance of Templates: time 0.04297/1.53, allocations: 24.88 MB / 1.381 GB, free: 2.309 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches