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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001492/0.001492, allocations: 108 kB / 15.61 MB, free: 152 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.001714/0.001714, allocations: 195.4 kB / 16.53 MB, free: 6.664 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: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.743/2.743, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 63.47 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3948, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.959/1.354, allocations: 222.6 MB / 1.286 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01869/1.373, allocations: 12.12 MB / 1.297 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003341/1.376, allocations: 79.84 kB / 1.297 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002431/1.378, allocations: 0.8546 MB / 1.298 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008231/1.387, allocations: 2.867 MB / 1.301 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003775/1.39, allocations: 1.42 MB / 1.303 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006679/1.397, allocations: 4.45 MB / 1.307 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002594/1.4, allocations: 1.713 MB / 1.309 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00624/1.406, allocations: 2.464 MB / 1.311 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/1.409, allocations: 1.557 MB / 1.312 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004172/1.41, allocations: 179.9 kB / 1.313 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005946/1.416, allocations: 2.161 MB / 1.315 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009117/1.417, allocations: 0.7084 MB / 1.315 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001792/1.418, allocations: 1.047 MB / 1.316 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007183/1.426, allocations: 3.271 MB / 1.32 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/1.426, allocations: 0 / 1.32 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.745e-06/1.426, allocations: 1.062 kB / 1.32 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.096e-05/1.426, allocations: 0 / 1.32 GB, free: 4.16 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.005407/1.431, allocations: 2.286 MB / 1.322 GB, free: 19.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.431, allocations: 10.94 kB / 1.322 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/1.434, allocations: 0.4938 MB / 1.322 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/1.437, allocations: 1.254 MB / 1.324 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.437, allocations: 112.1 kB / 1.324 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/1.437, allocations: 156.4 kB / 1.324 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/1.44, allocations: 1.762 MB / 1.326 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/1.44, allocations: 6.781 kB / 1.326 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/1.44, allocations: 58.97 kB / 1.326 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/1.44, allocations: 52.52 kB / 1.326 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/1.442, allocations: 1.406 MB / 1.327 GB, free: 18.21 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.009678/1.452, allocations: 7.334 MB / 1.334 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/1.453, allocations: 1.041 MB / 1.335 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008302/1.454, allocations: 0.6949 MB / 1.336 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/1.454, allocations: 109.4 kB / 1.336 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/1.454, allocations: 54.56 kB / 1.336 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001213/1.456, allocations: 312.5 kB / 1.336 GB, free: 13.86 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.629e-06/1.456, allocations: 4 kB / 1.336 GB, free: 13.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.007464/1.463, allocations: 4.439 MB / 1.341 GB, free: 11.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.463, allocations: 170.8 kB / 1.341 GB, free: 11.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/1.465, allocations: 1.263 MB / 1.342 GB, free: 11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/1.465, allocations: 50.7 kB / 1.342 GB, free: 10.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/1.466, allocations: 0.7022 MB / 1.343 GB, free: 10.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004316/1.466, allocations: 402.1 kB / 1.343 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/1.466, allocations: 262.5 kB / 1.343 GB, free: 9.977 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.467, allocations: 357.2 kB / 1.344 GB, free: 9.648 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008004/1.467, allocations: 0.5249 MB / 1.344 GB, free: 9.457 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.468, allocations: 0.8642 MB / 1.345 GB, free: 8.891 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.01118/1.48, allocations: 4.801 MB / 1.35 GB, free: 6.891 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.48, allocations: 0 / 1.35 GB, free: 6.891 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002656/1.482, allocations: 1.622 MB / 1.351 GB, free: 6.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.482, allocations: 10.11 kB / 1.351 GB, free: 6.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.482, allocations: 12.59 kB / 1.351 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/1.482, allocations: 22.25 kB / 1.351 GB, free: 6.262 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.484, allocations: 289.7 kB / 1.352 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/1.484, allocations: 22.47 kB / 1.352 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.485, allocations: 52.83 kB / 1.352 GB, free: 6.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.485, allocations: 59.47 kB / 1.352 GB, free: 6.215 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 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.0008477/1.486, allocations: 426.8 kB / 1.352 GB, free: 5.961 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/1.486, allocations: 164.6 kB / 1.352 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/1.489, allocations: 1.302 MB / 1.354 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.489, allocations: 11.06 kB / 1.354 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.489, allocations: 2.719 kB / 1.354 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001589/1.49, allocations: 1.242 MB / 1.355 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006715/1.497, allocations: 3.772 MB / 1.359 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.497, allocations: 8.188 kB / 1.359 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.498, allocations: 243.6 kB / 1.359 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.346e-05/1.498, allocations: 17.5 kB / 1.359 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/1.498, allocations: 40.5 kB / 1.359 GB, free: 2.605 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.649e-05/1.498, allocations: 16.06 kB / 1.359 GB, free: 2.605 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/1.498, allocations: 19.16 kB / 1.359 GB, free: 2.602 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/1.502, allocations: 2.128 MB / 1.361 GB, free: 1.359 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00086/1.502, allocations: 364.1 kB / 1.361 GB, free: 1.113 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003674/1.503, allocations: 39.03 kB / 1.361 GB, free: 1.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.504, allocations: 47.16 kB / 1.361 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.504, allocations: 97.27 kB / 1.362 GB, free: 1.059 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.504, allocations: 55.84 kB / 1.362 GB, free: 1.047 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001357/1.506, allocations: 0.8523 MB / 1.362 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.506, allocations: 0 / 1.362 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002109/1.508, allocations: 433.7 kB / 1.363 GB, free: 0.6797 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.0006634/1.509, allocations: 245.3 kB / 1.363 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002682/1.511, allocations: 1.426 MB / 1.364 GB, free: 136 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.511, allocations: 2.594 kB / 1.364 GB, free: 136 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008028/1.512, allocations: 0.5542 MB / 1.365 GB, free: 15.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/1.517, allocations: 0.9341 MB / 1.366 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/1.523, allocations: 3.434 MB / 1.369 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.524, allocations: 1.381 MB / 1.371 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001802/1.526, allocations: 387.9 kB / 1.371 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/1.526, allocations: 127.2 kB / 1.371 GB, free: 12.14 MB / 1.029 GB Notification: Performance of SimCode: time 1.252e-06/1.526, allocations: 0 / 1.371 GB, free: 12.14 MB / 1.029 GB Notification: Performance of Templates: time 0.05159/1.578, allocations: 30.39 MB / 1.401 GB, free: 2.961 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches