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.001703/0.001702, 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.002155/0.002155, allocations: 198.5 kB / 16.14 MB, free: 6.711 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.451/2.451, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7751, allocations: 140.4 MB / 0.9489 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.263/1.038, allocations: 220.3 MB / 1.164 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0196/1.058, allocations: 12.21 MB / 1.176 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003919/1.062, allocations: 67.56 kB / 1.176 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003064/1.065, allocations: 0.7108 MB / 1.177 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009262/1.074, allocations: 2.703 MB / 1.179 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003965/1.078, allocations: 1.289 MB / 1.181 GB, free: 4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008232/1.086, allocations: 6.085 MB / 1.187 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/1.089, allocations: 1.489 MB / 1.188 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008134/1.097, allocations: 2.209 MB / 1.19 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004858/1.102, allocations: 1.601 MB / 1.192 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006903/1.103, allocations: 107.9 kB / 1.192 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006505/1.109, allocations: 2.47 MB / 1.194 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001304/1.111, allocations: 0.627 MB / 1.195 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002342/1.113, allocations: 0.9678 MB / 1.196 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005234/1.118, allocations: 3.338 MB / 1.199 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.118, allocations: 0 / 1.199 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.82e-07/1.118, allocations: 0 / 1.199 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.309e-05/1.118, allocations: 0 / 1.199 GB, free: 1.031 MB / 0.9512 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.004068/1.123, allocations: 2.28 MB / 1.201 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.123, allocations: 8.031 kB / 1.201 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/1.126, allocations: 0.4933 MB / 1.202 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/1.128, allocations: 1.266 MB / 1.203 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.801e-05/1.128, allocations: 110.8 kB / 1.203 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/1.129, allocations: 148 kB / 1.203 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/1.132, allocations: 1.758 MB / 1.205 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/1.132, allocations: 7.922 kB / 1.205 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/1.132, allocations: 63.98 kB / 1.205 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/1.132, allocations: 54.48 kB / 1.205 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/1.134, allocations: 1.403 MB / 1.207 GB, free: 9.211 MB / 0.9669 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.008834/1.143, allocations: 7.298 MB / 1.214 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/1.145, allocations: 1.047 MB / 1.215 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009716/1.146, allocations: 0.6908 MB / 1.215 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/1.146, allocations: 118 kB / 1.215 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/1.146, allocations: 51.56 kB / 1.216 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001313/1.148, allocations: 306.5 kB / 1.216 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 3.246e-06/1.148, allocations: 0 / 1.216 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=112): time 0.008523/1.156, allocations: 4.424 MB / 1.22 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/1.156, allocations: 171.3 kB / 1.22 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/1.158, allocations: 1.263 MB / 1.222 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/1.158, allocations: 49.7 kB / 1.222 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/1.159, allocations: 0.6969 MB / 1.222 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/1.159, allocations: 402.1 kB / 1.223 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/1.159, allocations: 263.4 kB / 1.223 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.16, allocations: 357.9 kB / 1.223 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009166/1.16, allocations: 0.5153 MB / 1.224 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/1.162, allocations: 0.8514 MB / 1.225 GB, free: 6 MB / 0.9825 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.01177/1.173, allocations: 4.746 MB / 1.229 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.173, allocations: 4 kB / 1.229 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002879/1.176, allocations: 1.596 MB / 1.231 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.176, allocations: 8 kB / 1.231 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.176, allocations: 8 kB / 1.231 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/1.176, allocations: 16 kB / 1.231 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.177, allocations: 283.5 kB / 1.231 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/1.178, allocations: 27.92 kB / 1.231 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/1.179, allocations: 119.9 kB / 1.231 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.179, allocations: 59.98 kB / 1.231 GB, free: 14.97 MB / 0.9981 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.0008641/1.18, allocations: 422.7 kB / 1.232 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/1.18, allocations: 166 kB / 1.232 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/1.183, allocations: 1.283 MB / 1.233 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.183, allocations: 16 kB / 1.233 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.183, allocations: 4 kB / 1.233 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/1.184, allocations: 1.233 MB / 1.234 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006148/1.19, allocations: 3.73 MB / 1.238 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.19, allocations: 15.98 kB / 1.238 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.192, allocations: 244.5 kB / 1.238 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/1.192, allocations: 16 kB / 1.238 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-05/1.192, allocations: 51.92 kB / 1.238 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-05/1.192, allocations: 19.88 kB / 1.238 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/1.192, allocations: 15.94 kB / 1.238 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/1.195, allocations: 2.105 MB / 1.24 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007652/1.195, allocations: 355 kB / 1.241 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/1.196, allocations: 43.92 kB / 1.241 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.197, allocations: 89.75 kB / 1.241 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/1.197, allocations: 96.31 kB / 1.241 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.864e-05/1.197, allocations: 55.98 kB / 1.241 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001181/1.198, allocations: 0.8568 MB / 1.242 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.198, allocations: 0 / 1.242 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001525/1.2, allocations: 436 kB / 1.242 GB, free: 3.297 MB / 0.9981 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.0005567/1.2, allocations: 229.5 kB / 1.242 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001997/1.202, allocations: 1.22 MB / 1.244 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.202, allocations: 3.938 kB / 1.244 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007329/1.203, allocations: 0.5439 MB / 1.244 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/1.207, allocations: 0.8849 MB / 1.245 GB, free: 452 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.542/1.749, allocations: 4.002 MB / 1.249 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/1.751, allocations: 1.374 MB / 1.25 GB, free: 282 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00244/1.753, allocations: 385.5 kB / 1.251 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/1.754, allocations: 127.6 kB / 1.251 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.754, allocations: 3.094 kB / 1.251 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.05451/1.808, allocations: 28.87 MB / 1.279 GB, free: 269.6 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches