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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00111/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001229/0.00123, allocations: 190.1 kB / 16.14 MB, free: 6.652 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.5 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3104, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9113/1.222, allocations: 220.3 MB / 1.267 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01772/1.24, allocations: 12.2 MB / 1.279 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/1.243, allocations: 67.12 kB / 1.279 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002551/1.245, allocations: 0.7142 MB / 1.28 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00787/1.253, allocations: 2.699 MB / 1.283 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003915/1.257, allocations: 1.279 MB / 1.284 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00892/1.266, allocations: 6.1 MB / 1.29 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002678/1.269, allocations: 1.49 MB / 1.291 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006497/1.275, allocations: 2.212 MB / 1.293 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004553/1.28, allocations: 1.598 MB / 1.295 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005378/1.281, allocations: 102.3 kB / 1.295 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00606/1.287, allocations: 2.477 MB / 1.297 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/1.288, allocations: 0.6287 MB / 1.298 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002147/1.29, allocations: 0.9685 MB / 1.299 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005834/1.296, allocations: 3.333 MB / 1.302 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.296, allocations: 0 / 1.302 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/1.296, allocations: 2.906 kB / 1.302 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.154e-05/1.296, allocations: 0 / 1.302 GB, free: 1.043 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.00506/1.301, allocations: 2.281 MB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.301, allocations: 9.281 kB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/1.305, allocations: 0.4944 MB / 1.305 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/1.307, allocations: 1.264 MB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/1.307, allocations: 110 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/1.308, allocations: 150.8 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/1.311, allocations: 1.763 MB / 1.308 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/1.311, allocations: 9.438 kB / 1.308 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/1.311, allocations: 66.64 kB / 1.308 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.395e-05/1.311, allocations: 55.19 kB / 1.308 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/1.314, allocations: 1.4 MB / 1.31 GB, free: 15.06 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.01032/1.324, allocations: 7.302 MB / 1.317 GB, free: 11.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/1.326, allocations: 1.049 MB / 1.318 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009137/1.327, allocations: 0.6872 MB / 1.319 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/1.327, allocations: 115.8 kB / 1.319 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/1.327, allocations: 54.62 kB / 1.319 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001591/1.329, allocations: 304.5 kB / 1.319 GB, free: 10.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 5.411e-06/1.329, allocations: 0 / 1.319 GB, free: 10.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.008842/1.338, allocations: 4.422 MB / 1.323 GB, free: 9.297 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.338, allocations: 174.9 kB / 1.323 GB, free: 9.109 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/1.339, allocations: 1.261 MB / 1.325 GB, free: 8.934 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/1.34, allocations: 51.42 kB / 1.325 GB, free: 8.902 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/1.34, allocations: 0.7005 MB / 1.325 GB, free: 8.648 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004503/1.34, allocations: 401.5 kB / 1.326 GB, free: 8.395 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/1.341, allocations: 259.9 kB / 1.326 GB, free: 8.371 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002171/1.341, allocations: 356.9 kB / 1.326 GB, free: 8.066 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008916/1.342, allocations: 0.5181 MB / 1.327 GB, free: 8.062 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/1.343, allocations: 0.8516 MB / 1.328 GB, free: 7.715 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.0119/1.355, allocations: 4.749 MB / 1.332 GB, free: 7.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.355, allocations: 3.344 kB / 1.332 GB, free: 7.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002678/1.358, allocations: 1.602 MB / 1.334 GB, free: 6.863 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.358, allocations: 11.55 kB / 1.334 GB, free: 6.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.358, allocations: 6.844 kB / 1.334 GB, free: 6.863 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/1.358, allocations: 13.41 kB / 1.334 GB, free: 6.863 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/1.359, allocations: 289.7 kB / 1.334 GB, free: 6.863 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-05/1.359, allocations: 20.34 kB / 1.334 GB, free: 6.863 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.361, allocations: 111.2 kB / 1.334 GB, free: 6.848 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.361, allocations: 59.03 kB / 1.334 GB, free: 6.848 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.0009097/1.362, allocations: 429.9 kB / 1.335 GB, free: 6.723 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/1.362, allocations: 165.8 kB / 1.335 GB, free: 6.641 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/1.365, allocations: 1.272 MB / 1.336 GB, free: 6.551 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/1.365, allocations: 18.31 kB / 1.336 GB, free: 6.543 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.365, allocations: 3.312 kB / 1.336 GB, free: 6.543 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001492/1.366, allocations: 1.227 MB / 1.337 GB, free: 6.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/1.372, allocations: 3.751 MB / 1.341 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.372, allocations: 10.12 kB / 1.341 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/1.373, allocations: 244.5 kB / 1.341 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/1.373, allocations: 15.78 kB / 1.341 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/1.373, allocations: 44.38 kB / 1.341 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/1.373, allocations: 21.77 kB / 1.341 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.373, allocations: 12.94 kB / 1.341 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/1.376, allocations: 2.103 MB / 1.344 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007097/1.376, allocations: 354.1 kB / 1.344 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/1.377, allocations: 40.72 kB / 1.344 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/1.378, allocations: 85.75 kB / 1.344 GB, free: 4.305 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.378, allocations: 104.4 kB / 1.344 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/1.378, allocations: 50.16 kB / 1.344 GB, free: 4.293 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001034/1.379, allocations: 0.8629 MB / 1.345 GB, free: 4.176 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.379, allocations: 3.938 kB / 1.345 GB, free: 4.172 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001465/1.38, allocations: 431 kB / 1.345 GB, free: 4.168 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.0005153/1.381, allocations: 234.9 kB / 1.346 GB, free: 4.062 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00185/1.383, allocations: 1.21 MB / 1.347 GB, free: 4.035 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.383, allocations: 6.625 kB / 1.347 GB, free: 4.035 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006923/1.384, allocations: 0.538 MB / 1.347 GB, free: 4.027 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/1.388, allocations: 0.8863 MB / 1.348 GB, free: 3.961 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005767/1.393, allocations: 4.022 MB / 1.352 GB, free: 1.688 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.394, allocations: 1.381 MB / 1.353 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001964/1.396, allocations: 381.6 kB / 1.354 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/1.397, allocations: 123 kB / 1.354 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of SimCode: time 7.01e-07/1.397, allocations: 0 / 1.354 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of Templates: time 0.05017/1.447, allocations: 28.87 MB / 1.382 GB, free: 11.5 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