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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001666/0.001666, allocations: 115.4 kB / 16.37 MB, free: 5.539 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.0018/0.0018, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.561/2.561, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 64.47 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3266, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9058/1.232, allocations: 222.6 MB / 1.244 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02038/1.253, allocations: 12.12 MB / 1.256 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003569/1.257, allocations: 75.56 kB / 1.256 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003149/1.26, allocations: 0.8577 MB / 1.257 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00976/1.27, allocations: 2.862 MB / 1.26 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004871/1.274, allocations: 1.437 MB / 1.261 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007715/1.282, allocations: 4.451 MB / 1.265 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/1.285, allocations: 1.718 MB / 1.267 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006868/1.292, allocations: 2.473 MB / 1.269 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00361/1.296, allocations: 1.559 MB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005526/1.296, allocations: 180 kB / 1.271 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005178/1.302, allocations: 2.163 MB / 1.273 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009731/1.303, allocations: 0.7012 MB / 1.274 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/1.304, allocations: 1.05 MB / 1.275 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007572/1.312, allocations: 3.318 MB / 1.278 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/1.312, allocations: 7.938 kB / 1.278 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/1.312, allocations: 0 / 1.278 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.937e-05/1.312, allocations: 0 / 1.278 GB, free: 11.76 MB / 0.9825 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.004533/1.317, allocations: 2.273 MB / 1.28 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.317, allocations: 15.97 kB / 1.28 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/1.32, allocations: 0.4972 MB / 1.281 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/1.323, allocations: 1.329 MB / 1.282 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/1.323, allocations: 118.7 kB / 1.282 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/1.323, allocations: 151.9 kB / 1.283 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/1.326, allocations: 1.76 MB / 1.284 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/1.326, allocations: 7.938 kB / 1.284 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/1.326, allocations: 60 kB / 1.284 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/1.326, allocations: 50.55 kB / 1.284 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/1.329, allocations: 1.395 MB / 1.286 GB, free: 3.875 MB / 0.9825 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.009868/1.338, allocations: 7.296 MB / 1.293 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/1.34, allocations: 1.052 MB / 1.294 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000937/1.341, allocations: 0.6906 MB / 1.295 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/1.341, allocations: 114.1 kB / 1.295 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/1.341, allocations: 52.56 kB / 1.295 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001298/1.343, allocations: 314.7 kB / 1.295 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 4.228e-06/1.343, allocations: 0 / 1.295 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.008294/1.351, allocations: 4.438 MB / 1.299 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.351, allocations: 171.2 kB / 1.299 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/1.353, allocations: 1.259 MB / 1.301 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/1.353, allocations: 53.7 kB / 1.301 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/1.353, allocations: 0.7046 MB / 1.301 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/1.354, allocations: 394.2 kB / 1.302 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/1.354, allocations: 267.3 kB / 1.302 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.354, allocations: 361.9 kB / 1.302 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/1.355, allocations: 0.527 MB / 1.303 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/1.356, allocations: 0.8595 MB / 1.304 GB, free: 0.6133 MB / 0.9981 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.01153/1.368, allocations: 4.797 MB / 1.308 GB, free: 11.65 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/1.368, allocations: 0 / 1.308 GB, free: 11.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002702/1.371, allocations: 1.617 MB / 1.31 GB, free: 10.03 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/1.371, allocations: 10.34 kB / 1.31 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.371, allocations: 8 kB / 1.31 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/1.371, allocations: 16 kB / 1.31 GB, free: 9.996 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.372, allocations: 291.5 kB / 1.31 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/1.372, allocations: 23.92 kB / 1.31 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.373, allocations: 58.66 kB / 1.31 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.373, allocations: 55.98 kB / 1.311 GB, free: 9.578 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.0007823/1.374, allocations: 426.2 kB / 1.311 GB, free: 9.152 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003741/1.375, allocations: 166 kB / 1.311 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/1.377, allocations: 1.295 MB / 1.312 GB, free: 7.676 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.377, allocations: 16.03 kB / 1.312 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.377, allocations: 4 kB / 1.312 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/1.378, allocations: 1.241 MB / 1.314 GB, free: 6.352 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006256/1.385, allocations: 3.766 MB / 1.317 GB, free: 2.391 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.385, allocations: 8 kB / 1.317 GB, free: 2.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.386, allocations: 243.6 kB / 1.317 GB, free: 2.145 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/1.386, allocations: 16 kB / 1.317 GB, free: 2.129 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.743e-05/1.386, allocations: 43.92 kB / 1.318 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.979e-05/1.386, allocations: 23.92 kB / 1.318 GB, free: 2.062 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.386, allocations: 11.94 kB / 1.318 GB, free: 2.051 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/1.389, allocations: 2.129 MB / 1.32 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008774/1.39, allocations: 355 kB / 1.32 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/1.39, allocations: 39.92 kB / 1.32 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.391, allocations: 55.61 kB / 1.32 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.391, allocations: 100.3 kB / 1.32 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.809e-05/1.391, allocations: 47.98 kB / 1.32 GB, free: 15.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001188/1.392, allocations: 0.8567 MB / 1.321 GB, free: 14.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.3e-07/1.392, allocations: 3.938 kB / 1.321 GB, free: 14.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001414/1.394, allocations: 436 kB / 1.321 GB, free: 13.88 MB / 1.029 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.000573/1.394, allocations: 236.8 kB / 1.322 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002151/1.397, allocations: 1.254 MB / 1.323 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.397, allocations: 0 / 1.323 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008271/1.397, allocations: 0.5565 MB / 1.323 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/1.402, allocations: 0.923 MB / 1.324 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/1.407, allocations: 3.403 MB / 1.328 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.409, allocations: 1.372 MB / 1.329 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001656/1.41, allocations: 389.3 kB / 1.329 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/1.411, allocations: 127.4 kB / 1.33 GB, free: 5.461 MB / 1.029 GB Notification: Performance of SimCode: time 9.51e-07/1.411, allocations: 4 kB / 1.33 GB, free: 5.457 MB / 1.029 GB Notification: Performance of Templates: time 0.05625/1.467, allocations: 30.36 MB / 1.359 GB, free: 7.508 MB / 1.061 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches