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.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.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.00163/0.00163, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001898/0.001898, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 67.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9991/1.001, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2658/1.267, allocations: 222.6 MB / 1.306 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02007/1.287, allocations: 12.13 MB / 1.318 GB, free: 2.797 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003047/1.29, allocations: 67.62 kB / 1.318 GB, free: 2.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00309/1.293, allocations: 0.885 MB / 1.319 GB, free: 1.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008675/1.302, allocations: 2.971 MB / 1.322 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004263/1.306, allocations: 1.442 MB / 1.323 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006896/1.313, allocations: 4.465 MB / 1.327 GB, free: 8.941 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/1.316, allocations: 1.709 MB / 1.329 GB, free: 7.199 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006661/1.323, allocations: 2.558 MB / 1.332 GB, free: 4.637 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00358/1.326, allocations: 1.556 MB / 1.333 GB, free: 3.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007943/1.327, allocations: 180 kB / 1.333 GB, free: 2.914 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005095/1.332, allocations: 2.183 MB / 1.335 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/1.333, allocations: 0.7051 MB / 1.336 GB, free: 20 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002171/1.336, allocations: 1.046 MB / 1.337 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006717/1.342, allocations: 3.326 MB / 1.34 GB, free: 11.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.342, allocations: 0 / 1.34 GB, free: 11.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/1.342, allocations: 0 / 1.34 GB, free: 11.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001046/1.342, allocations: 0 / 1.34 GB, free: 11.63 MB / 1.076 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.00499/1.347, allocations: 2.276 MB / 1.343 GB, free: 9.301 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.348, allocations: 11.97 kB / 1.343 GB, free: 9.289 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/1.351, allocations: 0.5011 MB / 1.343 GB, free: 8.785 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/1.354, allocations: 1.341 MB / 1.344 GB, free: 7.387 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.123e-05/1.354, allocations: 114.8 kB / 1.345 GB, free: 7.273 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/1.354, allocations: 147.9 kB / 1.345 GB, free: 7.129 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00311/1.357, allocations: 1.755 MB / 1.346 GB, free: 5.266 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/1.357, allocations: 7.938 kB / 1.346 GB, free: 5.258 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/1.357, allocations: 63.98 kB / 1.346 GB, free: 5.195 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/1.357, allocations: 50.53 kB / 1.347 GB, free: 5.145 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/1.36, allocations: 1.399 MB / 1.348 GB, free: 3.738 MB / 1.076 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.009625/1.369, allocations: 7.285 MB / 1.355 GB, free: 12.07 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/1.371, allocations: 1.052 MB / 1.356 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009881/1.372, allocations: 0.6828 MB / 1.357 GB, free: 10.28 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/1.373, allocations: 126.2 kB / 1.357 GB, free: 10.14 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/1.373, allocations: 51.56 kB / 1.357 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001254/1.374, allocations: 306.5 kB / 1.357 GB, free: 9.773 MB / 1.092 GB Notification: Performance of pre-optimization done (n=106): time 7.434e-06/1.374, allocations: 0 / 1.357 GB, free: 9.773 MB / 1.092 GB Notification: Performance of matching and sorting (n=112): time 0.009129/1.383, allocations: 4.432 MB / 1.361 GB, free: 5.266 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/1.383, allocations: 175.1 kB / 1.362 GB, free: 5.059 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/1.385, allocations: 1.267 MB / 1.363 GB, free: 3.781 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/1.385, allocations: 49.7 kB / 1.363 GB, free: 3.727 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/1.386, allocations: 0.7084 MB / 1.364 GB, free: 3.012 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/1.386, allocations: 398.2 kB / 1.364 GB, free: 2.617 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/1.386, allocations: 267.3 kB / 1.364 GB, free: 2.352 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.387, allocations: 357.9 kB / 1.365 GB, free: 1.996 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008445/1.387, allocations: 0.5309 MB / 1.365 GB, free: 1.465 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.389, allocations: 0.8518 MB / 1.366 GB, free: 500 kB / 1.092 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.01215/1.401, allocations: 4.799 MB / 1.371 GB, free: 11.52 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.401, allocations: 4 kB / 1.371 GB, free: 11.52 MB / 1.107 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00288/1.404, allocations: 1.62 MB / 1.372 GB, free: 9.887 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.404, allocations: 12 kB / 1.372 GB, free: 9.875 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.404, allocations: 8 kB / 1.372 GB, free: 9.867 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/1.404, allocations: 12 kB / 1.372 GB, free: 9.855 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.405, allocations: 295.5 kB / 1.373 GB, free: 9.566 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.679e-05/1.405, allocations: 19.94 kB / 1.373 GB, free: 9.547 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/1.407, allocations: 54.88 kB / 1.373 GB, free: 9.496 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/1.407, allocations: 60.2 kB / 1.373 GB, free: 9.438 MB / 1.107 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.0007767/1.408, allocations: 437.2 kB / 1.373 GB, free: 9 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/1.408, allocations: 166 kB / 1.373 GB, free: 8.836 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/1.41, allocations: 1.291 MB / 1.375 GB, free: 7.531 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.41, allocations: 12 kB / 1.375 GB, free: 7.52 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.41, allocations: 0 / 1.375 GB, free: 7.52 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/1.412, allocations: 1.248 MB / 1.376 GB, free: 6.199 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006367/1.418, allocations: 3.762 MB / 1.379 GB, free: 2.242 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/1.418, allocations: 12 kB / 1.379 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.42, allocations: 243.6 kB / 1.38 GB, free: 1.992 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/1.42, allocations: 16 kB / 1.38 GB, free: 1.977 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.42, allocations: 43.92 kB / 1.38 GB, free: 1.934 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.548e-05/1.42, allocations: 15.94 kB / 1.38 GB, free: 1.918 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/1.42, allocations: 15.94 kB / 1.38 GB, free: 1.902 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/1.423, allocations: 2.125 MB / 1.382 GB, free: 15.62 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008526/1.424, allocations: 362.9 kB / 1.382 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003445/1.424, allocations: 39.92 kB / 1.382 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.425, allocations: 55.73 kB / 1.382 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.426, allocations: 96.31 kB / 1.382 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.426, allocations: 51.98 kB / 1.382 GB, free: 15.02 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001351/1.427, allocations: 0.8529 MB / 1.383 GB, free: 14.16 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.427, allocations: 0 / 1.383 GB, free: 14.16 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001664/1.429, allocations: 428 kB / 1.384 GB, free: 13.75 MB / 1.123 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.0006036/1.429, allocations: 261.2 kB / 1.384 GB, free: 13.5 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002214/1.432, allocations: 1.246 MB / 1.385 GB, free: 12.26 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/1.432, allocations: 4 kB / 1.385 GB, free: 12.25 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008664/1.433, allocations: 0.5487 MB / 1.386 GB, free: 11.7 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/1.437, allocations: 0.9226 MB / 1.387 GB, free: 10.8 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005665/1.443, allocations: 3.47 MB / 1.39 GB, free: 7.16 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.444, allocations: 1.372 MB / 1.391 GB, free: 5.758 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/1.445, allocations: 131.4 kB / 1.391 GB, free: 5.629 MB / 1.123 GB Notification: Performance of SimCode: time 7.11e-07/1.445, allocations: 0 / 1.391 GB, free: 5.629 MB / 1.123 GB Notification: Performance of Templates: time 0.0385/1.483, allocations: 25.41 MB / 1.416 GB, free: 12.41 MB / 1.154 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 -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