Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00567/0.00567, allocations: 102 kB / 15.73 MB, free: 5.555 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.001129/0.001129, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.88 kB / 0.9509 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3434, allocations: 140.4 MB / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 1.094/1.437, allocations: 221.9 MB / 1.305 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02321/1.461, allocations: 13.77 MB / 1.318 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00478/1.465, allocations: 65.94 kB / 1.318 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003031/1.469, allocations: 0.8311 MB / 1.319 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008109/1.477, allocations: 2.25 MB / 1.321 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00398/1.481, allocations: 1.191 MB / 1.322 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005307/1.486, allocations: 2.886 MB / 1.325 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/1.488, allocations: 1.207 MB / 1.326 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007721/1.496, allocations: 2.516 MB / 1.329 GB, free: 2.613 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/1.499, allocations: 1.025 MB / 1.33 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003179/1.499, allocations: 99.56 kB / 1.33 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004143/1.503, allocations: 1.602 MB / 1.331 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005191/1.504, allocations: 428.1 kB / 1.332 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/1.505, allocations: 0.6828 MB / 1.332 GB, free: 2.168 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003648/1.508, allocations: 2.076 MB / 1.335 GB, free: 1.859 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/1.508, allocations: 0 / 1.335 GB, free: 1.859 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/1.508, allocations: 0.5312 kB / 1.335 GB, free: 1.859 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.888e-05/1.508, allocations: 2.344 kB / 1.335 GB, free: 1.859 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002529/1.511, allocations: 1.7 MB / 1.336 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.511, allocations: 9.156 kB / 1.336 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/1.513, allocations: 435.5 kB / 1.337 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/1.515, allocations: 0.9523 MB / 1.338 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-05/1.515, allocations: 68.19 kB / 1.338 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/1.515, allocations: 93.41 kB / 1.338 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/1.518, allocations: 1.225 MB / 1.339 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/1.518, allocations: 5.656 kB / 1.339 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/1.518, allocations: 37.31 kB / 1.339 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.134e-05/1.518, allocations: 42.08 kB / 1.339 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/1.52, allocations: 0.8689 MB / 1.34 GB, free: 112 kB / 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.007199/1.527, allocations: 6.04 MB / 1.346 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/1.527, allocations: 256.5 kB / 1.346 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/1.528, allocations: 152.7 kB / 1.346 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/1.528, allocations: 99.8 kB / 1.346 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/1.528, allocations: 46.52 kB / 1.346 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008564/1.529, allocations: 113.7 kB / 1.346 GB, free: 11.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.374e-06/1.529, allocations: 0 / 1.346 GB, free: 11.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001288/1.53, allocations: 480.5 kB / 1.347 GB, free: 11.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.53, allocations: 190.3 kB / 1.347 GB, free: 11.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.532, allocations: 1.306 MB / 1.348 GB, free: 10.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/1.532, allocations: 28.45 kB / 1.348 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/1.533, allocations: 0.6377 MB / 1.349 GB, free: 10.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/1.533, allocations: 78.73 kB / 1.349 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/1.533, allocations: 142.1 kB / 1.349 GB, free: 10.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.533, allocations: 328.7 kB / 1.349 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006281/1.534, allocations: 239.6 kB / 1.35 GB, free: 9.871 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/1.534, allocations: 0.5558 MB / 1.35 GB, free: 9.391 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.536, allocations: 0.6954 MB / 1.351 GB, free: 8.875 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.536, allocations: 2.25 kB / 1.351 GB, free: 8.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001981/1.538, allocations: 0.8591 MB / 1.352 GB, free: 8.613 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.538, allocations: 7.312 kB / 1.352 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.538, allocations: 10.41 kB / 1.352 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.538, allocations: 16.75 kB / 1.352 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/1.538, allocations: 169.2 kB / 1.352 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/1.538, allocations: 21.22 kB / 1.352 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.54, allocations: 135.6 kB / 1.352 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/1.54, allocations: 37.05 kB / 1.352 GB, free: 8.578 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0005118/1.54, allocations: 303.8 kB / 1.352 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/1.541, allocations: 127.6 kB / 1.353 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/1.541, allocations: 290 kB / 1.353 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.541, allocations: 2.344 kB / 1.353 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.541, allocations: 2.688 kB / 1.353 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.541, allocations: 1.812 kB / 1.353 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/1.544, allocations: 1.68 MB / 1.354 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.544, allocations: 3.031 kB / 1.354 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/1.544, allocations: 43.22 kB / 1.354 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/1.544, allocations: 8.594 kB / 1.355 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/1.544, allocations: 6.719 kB / 1.355 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/1.544, allocations: 5.938 kB / 1.355 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.544, allocations: 5.031 kB / 1.355 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/1.544, allocations: 0.5027 MB / 1.355 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/1.545, allocations: 243.7 kB / 1.355 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.545, allocations: 11.31 kB / 1.355 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/1.546, allocations: 47.47 kB / 1.355 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/1.546, allocations: 25.12 kB / 1.355 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/1.546, allocations: 18.06 kB / 1.355 GB, free: 6.512 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001537/1.547, allocations: 0.9071 MB / 1.356 GB, free: 6.172 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.547, allocations: 0 / 1.356 GB, free: 6.172 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001181/1.548, allocations: 283.2 kB / 1.356 GB, free: 6.129 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * 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 (20): * Single equations (assignments): 20 * 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.0006181/1.549, allocations: 209 kB / 1.357 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001139/1.55, allocations: 456.4 kB / 1.357 GB, free: 5.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.55, allocations: 0 / 1.357 GB, free: 5.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/1.55, allocations: 102.8 kB / 1.357 GB, free: 5.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/1.553, allocations: 0.5888 MB / 1.358 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/1.557, allocations: 1.748 MB / 1.36 GB, free: 4.742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.558, allocations: 1.112 MB / 1.361 GB, free: 4.004 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001431/1.56, allocations: 238.1 kB / 1.361 GB, free: 3.949 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/1.56, allocations: 77.2 kB / 1.361 GB, free: 3.941 MB / 1.029 GB Notification: Performance of SimCode: time 3.646e-06/1.56, allocations: 0 / 1.361 GB, free: 3.941 MB / 1.029 GB Notification: Performance of Templates: time 0.04042/1.6, allocations: 18.49 MB / 1.379 GB, free: 13.41 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches