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.001546/0.001546, allocations: 103 kB / 16.27 MB, free: 6.402 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.001731/0.001731, allocations: 191 kB / 17.2 MB, free: 5.969 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.159/2.159, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.67 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2775, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8391/1.117, allocations: 222.6 MB / 1.168 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01832/1.135, allocations: 12.11 MB / 1.179 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003473/1.139, allocations: 76.41 kB / 1.18 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002861/1.141, allocations: 0.8487 MB / 1.18 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00959/1.151, allocations: 2.867 MB / 1.183 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004502/1.156, allocations: 1.421 MB / 1.185 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007761/1.163, allocations: 4.451 MB / 1.189 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/1.167, allocations: 1.718 MB / 1.191 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006734/1.173, allocations: 2.465 MB / 1.193 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003433/1.177, allocations: 1.554 MB / 1.195 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005813/1.177, allocations: 179.3 kB / 1.195 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005633/1.183, allocations: 2.165 MB / 1.197 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00125/1.184, allocations: 0.7061 MB / 1.197 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00266/1.187, allocations: 1.042 MB / 1.199 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00712/1.194, allocations: 3.273 MB / 1.202 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.194, allocations: 0 / 1.202 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.157e-06/1.194, allocations: 4 kB / 1.202 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001134/1.194, allocations: 3.938 kB / 1.202 GB, free: 2.828 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.004629/1.199, allocations: 2.278 MB / 1.204 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.199, allocations: 14.12 kB / 1.204 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003218/1.202, allocations: 0.4933 MB / 1.204 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/1.205, allocations: 1.253 MB / 1.206 GB, free: 60 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.466e-05/1.205, allocations: 115.8 kB / 1.206 GB, free: 4 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/1.205, allocations: 155.4 kB / 1.206 GB, free: 0 / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/1.208, allocations: 1.76 MB / 1.208 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/1.208, allocations: 6.25 kB / 1.208 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/1.208, allocations: 65.8 kB / 1.208 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.559e-05/1.208, allocations: 49.89 kB / 1.208 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/1.21, allocations: 1.401 MB / 1.209 GB, free: 14.08 MB / 0.8887 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.00944/1.22, allocations: 7.329 MB / 1.216 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.221, allocations: 1.05 MB / 1.217 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008992/1.222, allocations: 0.6942 MB / 1.218 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/1.223, allocations: 110.4 kB / 1.218 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/1.223, allocations: 55.47 kB / 1.218 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001306/1.224, allocations: 307.8 kB / 1.218 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=106): time 5.06e-06/1.224, allocations: 3.938 kB / 1.218 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of matching and sorting (n=112): time 0.008388/1.232, allocations: 4.447 MB / 1.223 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/1.233, allocations: 175.7 kB / 1.223 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/1.234, allocations: 1.258 MB / 1.224 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.234, allocations: 53.11 kB / 1.224 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005291/1.235, allocations: 0.694 MB / 1.225 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/1.235, allocations: 406.1 kB / 1.225 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/1.236, allocations: 267.3 kB / 1.226 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.236, allocations: 360.8 kB / 1.226 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007852/1.237, allocations: 0.5244 MB / 1.226 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/1.238, allocations: 0.8598 MB / 1.227 GB, free: 480 kB / 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.01156/1.249, allocations: 4.806 MB / 1.232 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/1.249, allocations: 0.875 kB / 1.232 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00284/1.252, allocations: 1.613 MB / 1.234 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/1.252, allocations: 8.156 kB / 1.234 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.252, allocations: 12 kB / 1.234 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/1.252, allocations: 16 kB / 1.234 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.253, allocations: 287.5 kB / 1.234 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.12e-05/1.253, allocations: 19.94 kB / 1.234 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/1.255, allocations: 60.62 kB / 1.234 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/1.255, allocations: 59.98 kB / 1.234 GB, free: 11.93 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.0007948/1.256, allocations: 423.6 kB / 1.234 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/1.256, allocations: 170 kB / 1.235 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/1.259, allocations: 1.291 MB / 1.236 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/1.259, allocations: 12 kB / 1.236 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.259, allocations: 4 kB / 1.236 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001598/1.26, allocations: 1.248 MB / 1.237 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006638/1.267, allocations: 3.767 MB / 1.241 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/1.267, allocations: 12.06 kB / 1.241 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.268, allocations: 243.6 kB / 1.241 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/1.268, allocations: 16 kB / 1.241 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-05/1.268, allocations: 43.92 kB / 1.241 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.769e-05/1.268, allocations: 19.94 kB / 1.241 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.268, allocations: 11.94 kB / 1.241 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/1.271, allocations: 2.129 MB / 1.243 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008467/1.272, allocations: 355 kB / 1.243 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/1.272, allocations: 39.92 kB / 1.243 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.274, allocations: 51.97 kB / 1.244 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.274, allocations: 100.3 kB / 1.244 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/1.274, allocations: 51.98 kB / 1.244 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001331/1.275, allocations: 0.8528 MB / 1.244 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.433e-06/1.275, allocations: 0 / 1.244 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001685/1.277, allocations: 439.9 kB / 1.245 GB, free: 264 kB / 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.0006142/1.278, allocations: 250.2 kB / 1.245 GB, free: 20 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002662/1.28, allocations: 1.435 MB / 1.247 GB, free: 14.58 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.28, allocations: 0 / 1.247 GB, free: 14.58 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008236/1.281, allocations: 0.5488 MB / 1.247 GB, free: 14.04 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/1.286, allocations: 0.9321 MB / 1.248 GB, free: 13.13 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005786/1.292, allocations: 3.499 MB / 1.251 GB, free: 9.465 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.293, allocations: 1.372 MB / 1.253 GB, free: 8.066 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005497/1.293, allocations: 131.4 kB / 1.253 GB, free: 7.938 MB / 0.92 GB Notification: Performance of SimCode: time 5.41e-07/1.293, allocations: 4 kB / 1.253 GB, free: 7.934 MB / 0.92 GB Notification: Performance of Templates: time 0.04117/1.334, allocations: 25.24 MB / 1.278 GB, free: 14.88 MB / 0.9512 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