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.001652/0.001653, allocations: 106.7 kB / 15.99 MB, free: 5.891 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.0019/0.0019, allocations: 189.3 kB / 16.91 MB, free: 5.746 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.411/2.411, allocations: 390.2 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 70 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2789, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8055/1.084, allocations: 219.8 MB / 1.164 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01997/1.105, allocations: 12.03 MB / 1.176 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004262/1.109, allocations: 67.09 kB / 1.176 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003192/1.112, allocations: 0.7447 MB / 1.177 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009602/1.122, allocations: 2.677 MB / 1.18 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004688/1.126, allocations: 1.311 MB / 1.181 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00753/1.134, allocations: 4.445 MB / 1.185 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/1.138, allocations: 1.688 MB / 1.187 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007686/1.145, allocations: 2.449 MB / 1.189 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004659/1.15, allocations: 1.646 MB / 1.191 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001008/1.151, allocations: 178.1 kB / 1.191 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006152/1.157, allocations: 2.276 MB / 1.193 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/1.159, allocations: 0.7044 MB / 1.194 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002883/1.162, allocations: 1.05 MB / 1.195 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004842/1.167, allocations: 2.484 MB / 1.197 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/1.167, allocations: 0 / 1.197 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.194e-06/1.167, allocations: 0 / 1.197 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001209/1.167, allocations: 0 / 1.197 GB, free: 5.602 MB / 0.8731 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.006016/1.173, allocations: 2.278 MB / 1.2 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.173, allocations: 11.38 kB / 1.2 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/1.176, allocations: 0.4994 MB / 1.2 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/1.179, allocations: 1.254 MB / 1.201 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/1.179, allocations: 109.2 kB / 1.201 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003889/1.18, allocations: 154.7 kB / 1.202 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/1.183, allocations: 1.756 MB / 1.203 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/1.183, allocations: 4.812 kB / 1.203 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/1.183, allocations: 59.66 kB / 1.203 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.023e-05/1.183, allocations: 54.77 kB / 1.203 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/1.186, allocations: 1.403 MB / 1.205 GB, free: 0.8047 MB / 0.8731 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.196, allocations: 7.305 MB / 1.212 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/1.198, allocations: 1.057 MB / 1.213 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009765/1.199, allocations: 0.6941 MB / 1.214 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/1.199, allocations: 112.1 kB / 1.214 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/1.199, allocations: 55.12 kB / 1.214 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00152/1.2, allocations: 320.5 kB / 1.214 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=106): time 7.595e-06/1.2, allocations: 0 / 1.214 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of matching and sorting (n=112): time 0.009608/1.21, allocations: 4.439 MB / 1.218 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/1.21, allocations: 169.5 kB / 1.219 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/1.212, allocations: 1.266 MB / 1.22 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/1.212, allocations: 48.58 kB / 1.22 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/1.213, allocations: 0.6988 MB / 1.221 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000431/1.213, allocations: 399.6 kB / 1.221 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/1.214, allocations: 265.1 kB / 1.221 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.214, allocations: 366.1 kB / 1.222 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008225/1.215, allocations: 0.5254 MB / 1.222 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/1.216, allocations: 0.8569 MB / 1.223 GB, free: 3.195 MB / 0.8887 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.01174/1.227, allocations: 4.802 MB / 1.228 GB, free: 456 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/1.227, allocations: 6.484 kB / 1.228 GB, free: 452 kB / 0.8887 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002904/1.23, allocations: 1.606 MB / 1.229 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/1.23, allocations: 16.81 kB / 1.229 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.23, allocations: 11.62 kB / 1.229 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/1.23, allocations: 15.69 kB / 1.229 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.232, allocations: 293.6 kB / 1.229 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.724e-05/1.232, allocations: 23.92 kB / 1.229 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.233, allocations: 109.1 kB / 1.23 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/1.234, allocations: 63.95 kB / 1.23 GB, free: 15.23 MB / 0.9044 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.0008426/1.234, allocations: 430.2 kB / 1.23 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/1.235, allocations: 162 kB / 1.23 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/1.237, allocations: 1.295 MB / 1.231 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.237, allocations: 12 kB / 1.231 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.237, allocations: 4 kB / 1.231 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001622/1.239, allocations: 1.252 MB / 1.233 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006504/1.245, allocations: 3.763 MB / 1.236 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.245, allocations: 8 kB / 1.236 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.247, allocations: 247.6 kB / 1.237 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.412e-05/1.247, allocations: 16 kB / 1.237 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.247, allocations: 39.94 kB / 1.237 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/1.247, allocations: 23.92 kB / 1.237 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.247, allocations: 11.94 kB / 1.237 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/1.25, allocations: 2.121 MB / 1.239 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008545/1.251, allocations: 359 kB / 1.239 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/1.251, allocations: 47.86 kB / 1.239 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.252, allocations: 91.78 kB / 1.239 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/1.253, allocations: 100.2 kB / 1.239 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.253, allocations: 51.98 kB / 1.239 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001269/1.254, allocations: 0.849 MB / 1.24 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/1.254, allocations: 0 / 1.24 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001638/1.256, allocations: 432 kB / 1.241 GB, free: 3.527 MB / 0.9044 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.0006104/1.256, allocations: 236.5 kB / 1.241 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002764/1.259, allocations: 1.425 MB / 1.242 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.259, allocations: 7.938 kB / 1.242 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/1.26, allocations: 0.5565 MB / 1.243 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004443/1.264, allocations: 0.9265 MB / 1.244 GB, free: 416 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006461/1.271, allocations: 4.096 MB / 1.248 GB, free: 12.14 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.272, allocations: 1.372 MB / 1.249 GB, free: 10.74 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/1.273, allocations: 139.4 kB / 1.249 GB, free: 10.61 MB / 0.92 GB Notification: Performance of SimCode: time 7.92e-07/1.273, allocations: 0 / 1.249 GB, free: 10.61 MB / 0.92 GB Notification: Performance of Templates: time 0.03725/1.31, allocations: 25.24 MB / 1.274 GB, free: 1.547 MB / 0.9356 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