Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001747/0.001746, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002621/0.002621, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 0.8685 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.7196, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2525/0.9722, allocations: 220.4 MB / 1.232 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02041/0.9926, allocations: 12.21 MB / 1.244 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004161/0.9969, allocations: 63.62 kB / 1.244 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00354/1, allocations: 0.7186 MB / 1.244 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/1.011, allocations: 2.7 MB / 1.247 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/1.015, allocations: 1.281 MB / 1.248 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6736/1.689, allocations: 6.078 MB / 1.254 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/1.691, allocations: 1.489 MB / 1.256 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006037/1.697, allocations: 2.204 MB / 1.258 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004743/1.702, allocations: 1.598 MB / 1.259 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000606/1.703, allocations: 102.7 kB / 1.26 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006426/1.709, allocations: 2.471 MB / 1.262 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001413/1.711, allocations: 0.6345 MB / 1.263 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002374/1.713, allocations: 0.965 MB / 1.264 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009405/1.722, allocations: 3.343 MB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/1.722, allocations: 3 kB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.098e-06/1.723, allocations: 0 / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001323/1.723, allocations: 1.75 kB / 1.267 GB, free: 4.617 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.006865/1.73, allocations: 2.276 MB / 1.269 GB, free: 19.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.73, allocations: 10.22 kB / 1.269 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/1.733, allocations: 0.4993 MB / 1.27 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/1.736, allocations: 1.252 MB / 1.271 GB, free: 19.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/1.736, allocations: 112.1 kB / 1.271 GB, free: 19.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/1.736, allocations: 149.3 kB / 1.271 GB, free: 19.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/1.739, allocations: 1.764 MB / 1.273 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/1.739, allocations: 5.719 kB / 1.273 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/1.739, allocations: 62.44 kB / 1.273 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/1.739, allocations: 54.28 kB / 1.273 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/1.741, allocations: 1.399 MB / 1.274 GB, free: 18.67 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.01002/1.751, allocations: 7.316 MB / 1.281 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/1.753, allocations: 1.048 MB / 1.282 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/1.754, allocations: 0.6877 MB / 1.283 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/1.754, allocations: 116.7 kB / 1.283 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.755, allocations: 54.38 kB / 1.283 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001712/1.756, allocations: 305.5 kB / 1.284 GB, free: 14.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.348e-06/1.756, allocations: 0 / 1.284 GB, free: 14.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.008258/1.765, allocations: 4.415 MB / 1.288 GB, free: 12.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/1.765, allocations: 172.9 kB / 1.288 GB, free: 12.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/1.766, allocations: 1.265 MB / 1.289 GB, free: 12.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/1.766, allocations: 53.8 kB / 1.289 GB, free: 12.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/1.767, allocations: 0.6949 MB / 1.29 GB, free: 12.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/1.767, allocations: 401.9 kB / 1.29 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/1.767, allocations: 265.2 kB / 1.291 GB, free: 12.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.768, allocations: 358.9 kB / 1.291 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007395/1.768, allocations: 0.5184 MB / 1.291 GB, free: 11.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.769, allocations: 0.8439 MB / 1.292 GB, free: 11.41 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.0117/1.781, allocations: 4.744 MB / 1.297 GB, free: 10.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/1.781, allocations: 4.062 kB / 1.297 GB, free: 10.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002672/1.784, allocations: 1.6 MB / 1.298 GB, free: 10.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/1.784, allocations: 11.94 kB / 1.298 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.784, allocations: 13.03 kB / 1.298 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/1.784, allocations: 13.59 kB / 1.298 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.785, allocations: 293.6 kB / 1.299 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/1.785, allocations: 19.34 kB / 1.299 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/1.787, allocations: 115.6 kB / 1.299 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.787, allocations: 62.7 kB / 1.299 GB, free: 10.54 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.001014/1.788, allocations: 420 kB / 1.299 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/1.788, allocations: 169.4 kB / 1.3 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/1.79, allocations: 1.273 MB / 1.301 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.79, allocations: 16.97 kB / 1.301 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.79, allocations: 2.156 kB / 1.301 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001627/1.792, allocations: 1.228 MB / 1.302 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/1.798, allocations: 3.748 MB / 1.306 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.798, allocations: 10.78 kB / 1.306 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.799, allocations: 244.5 kB / 1.306 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/1.799, allocations: 15.91 kB / 1.306 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/1.799, allocations: 43.31 kB / 1.306 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.71e-05/1.799, allocations: 19.12 kB / 1.306 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/1.799, allocations: 16.38 kB / 1.306 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/1.802, allocations: 2.103 MB / 1.308 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/1.803, allocations: 355.7 kB / 1.308 GB, free: 8.062 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/1.803, allocations: 36.97 kB / 1.308 GB, free: 8.062 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/1.805, allocations: 91.62 kB / 1.308 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/1.805, allocations: 99.02 kB / 1.309 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.432e-05/1.805, allocations: 54.58 kB / 1.309 GB, free: 8.039 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001231/1.806, allocations: 0.8525 MB / 1.309 GB, free: 7.926 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.806, allocations: 0 / 1.309 GB, free: 7.926 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001582/1.808, allocations: 437.7 kB / 1.31 GB, free: 7.926 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.0005937/1.808, allocations: 248.6 kB / 1.31 GB, free: 7.805 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00186/1.81, allocations: 1.206 MB / 1.311 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.81, allocations: 5.562 kB / 1.311 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007059/1.811, allocations: 0.5418 MB / 1.312 GB, free: 7.777 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/1.815, allocations: 0.8772 MB / 1.313 GB, free: 7.719 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005842/1.821, allocations: 4.019 MB / 1.317 GB, free: 5.449 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.822, allocations: 1.376 MB / 1.318 GB, free: 4.715 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001729/1.824, allocations: 384.4 kB / 1.318 GB, free: 4.633 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/1.824, allocations: 131.8 kB / 1.318 GB, free: 4.629 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.824, allocations: 2.641 kB / 1.318 GB, free: 4.629 MB / 1.014 GB Notification: Performance of Templates: time 0.05105/1.875, allocations: 28.86 MB / 1.347 GB, free: 12.7 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches