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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001038/0.001038, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6779, allocations: 142.4 MB / 0.9557 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2233/0.9012, allocations: 217.4 MB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.9182, allocations: 12.07 MB / 1.18 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.9205, allocations: 67.56 kB / 1.18 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.9227, allocations: 0.7069 MB / 1.181 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007338/0.93, allocations: 2.7 MB / 1.183 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.9335, allocations: 1.285 MB / 1.184 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007297/0.9408, allocations: 6.085 MB / 1.19 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.9435, allocations: 1.445 MB / 1.192 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005732/0.9492, allocations: 2.152 MB / 1.194 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004012/0.9532, allocations: 1.526 MB / 1.195 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004657/0.9537, allocations: 80 kB / 1.195 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005706/0.9594, allocations: 2.443 MB / 1.198 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.9609, allocations: 0.5919 MB / 1.198 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002904/0.9638, allocations: 0.9382 MB / 1.199 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004086/0.9679, allocations: 2.408 MB / 1.202 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.9679, allocations: 4 kB / 1.202 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.154e-06/0.968, allocations: 0 / 1.202 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.488e-05/0.9681, allocations: 0 / 1.202 GB, free: 2.695 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.004199/0.9723, allocations: 1.895 MB / 1.204 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.9723, allocations: 8.031 kB / 1.204 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0034/0.9757, allocations: 0.4972 MB / 1.204 GB, free: 244 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.9784, allocations: 1.263 MB / 1.205 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.9786, allocations: 106.8 kB / 1.205 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.9789, allocations: 144 kB / 1.205 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/0.982, allocations: 1.762 MB / 1.207 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.982, allocations: 15.83 kB / 1.207 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.9822, allocations: 59.98 kB / 1.207 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/0.9822, allocations: 50.55 kB / 1.207 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.9845, allocations: 1.403 MB / 1.209 GB, free: 11.27 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.008679/0.9932, allocations: 7.308 MB / 1.216 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.9948, allocations: 1.051 MB / 1.217 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009305/0.9957, allocations: 0.6945 MB / 1.218 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.9959, allocations: 118.2 kB / 1.218 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.996, allocations: 59.5 kB / 1.218 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001251/0.9972, allocations: 306.5 kB / 1.218 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=106): time 5.35e-06/0.9973, allocations: 0 / 1.218 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=112): time 0.008046/1.005, allocations: 4.424 MB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/1.005, allocations: 171.2 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/1.007, allocations: 1.267 MB / 1.224 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/1.007, allocations: 49.7 kB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/1.008, allocations: 0.7007 MB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/1.008, allocations: 398.2 kB / 1.225 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/1.008, allocations: 129.6 kB / 1.225 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.008, allocations: 358 kB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000796/1.009, allocations: 0.5192 MB / 1.226 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/1.01, allocations: 0.844 MB / 1.227 GB, free: 8.148 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.0114/1.022, allocations: 4.756 MB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.022, allocations: 4 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002644/1.024, allocations: 1.592 MB / 1.233 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.024, allocations: 9 kB / 1.233 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.024, allocations: 8 kB / 1.233 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/1.024, allocations: 20 kB / 1.233 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.025, allocations: 291.5 kB / 1.233 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.308e-05/1.026, allocations: 19.94 kB / 1.233 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.027, allocations: 118.8 kB / 1.233 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.027, allocations: 59.98 kB / 1.233 GB, free: 1.113 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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.0008328/1.028, allocations: 425.3 kB / 1.234 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/1.029, allocations: 166 kB / 1.234 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/1.031, allocations: 1.275 MB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.031, allocations: 12 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.031, allocations: 0 / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/1.032, allocations: 1.237 MB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006216/1.039, allocations: 3.75 MB / 1.24 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/1.039, allocations: 15.94 kB / 1.24 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/1.04, allocations: 239.8 kB / 1.24 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.27e-05/1.04, allocations: 19.98 kB / 1.24 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/1.04, allocations: 43.92 kB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.765e-05/1.04, allocations: 19.92 kB / 1.24 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/1.04, allocations: 19.88 kB / 1.24 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/1.043, allocations: 2.098 MB / 1.242 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007633/1.044, allocations: 355 kB / 1.243 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/1.044, allocations: 43.94 kB / 1.243 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.045, allocations: 87.78 kB / 1.243 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.045, allocations: 104.3 kB / 1.243 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.046, allocations: 47.98 kB / 1.243 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001268/1.047, allocations: 0.8568 MB / 1.244 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.047, allocations: 0 / 1.244 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001575/1.048, allocations: 428 kB / 1.244 GB, free: 5.449 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.0005842/1.049, allocations: 253.3 kB / 1.245 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002118/1.051, allocations: 1.214 MB / 1.246 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.051, allocations: 1.75 kB / 1.246 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/1.052, allocations: 0.5429 MB / 1.246 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006467/1.058, allocations: 0.8913 MB / 1.247 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5087/1.567, allocations: 4.212 MB / 1.251 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.568, allocations: 1.369 MB / 1.253 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000733/1.569, allocations: 133.7 kB / 1.253 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.272e-06/1.569, allocations: 0 / 1.253 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.05082/1.62, allocations: 24.88 MB / 1.277 GB, free: 270.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/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