Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 104.2 kB / 19.75 MB, free: 1.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 216 kB / 23.04 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.049/3.049, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 64.11 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3407, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2417/0.5824, allocations: 197.4 MB / 1.52 GB, free: 10.8 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.6011, allocations: 11.36 MB / 1.531 GB, free: 15.42 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002975/0.6041, allocations: 99.19 kB / 1.531 GB, free: 15.32 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002628/0.6067, allocations: 0.8421 MB / 1.532 GB, free: 14.48 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008778/0.6155, allocations: 2.991 MB / 1.535 GB, free: 11.47 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.6197, allocations: 1.459 MB / 1.536 GB, free: 10.02 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.006956/0.6266, allocations: 4.529 MB / 1.541 GB, free: 5.477 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.629, allocations: 1.347 MB / 1.542 GB, free: 4.086 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007408/0.6364, allocations: 2.844 MB / 1.545 GB, free: 1.238 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003804/0.6402, allocations: 1.566 MB / 1.546 GB, free: 15.68 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005069/0.6407, allocations: 184 kB / 1.547 GB, free: 15.5 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/0.6453, allocations: 1.784 MB / 1.548 GB, free: 13.71 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0009506/0.6463, allocations: 0.7205 MB / 1.549 GB, free: 12.99 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.6476, allocations: 0.8751 MB / 1.55 GB, free: 12.11 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006032/0.6537, allocations: 3.289 MB / 1.553 GB, free: 8.812 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6537, allocations: 0 / 1.553 GB, free: 8.812 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6537, allocations: 3.938 kB / 1.553 GB, free: 8.809 MB / 1.248 GB Notification: Performance of Transformations before backend: time 6.662e-05/0.6537, allocations: 0 / 1.553 GB, free: 8.809 MB / 1.248 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.004485/0.6582, allocations: 2.257 MB / 1.555 GB, free: 6.512 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.6583, allocations: 8.031 kB / 1.555 GB, free: 6.504 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.6613, allocations: 0.51 MB / 1.556 GB, free: 5.992 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.6652, allocations: 1.258 MB / 1.557 GB, free: 4.68 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.6653, allocations: 106.8 kB / 1.557 GB, free: 4.574 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003732/0.6657, allocations: 148 kB / 1.557 GB, free: 4.43 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/0.6695, allocations: 2.164 MB / 1.559 GB, free: 2.062 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/0.6696, allocations: 11.88 kB / 1.559 GB, free: 2.051 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.6697, allocations: 60 kB / 1.559 GB, free: 1.992 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.537e-05/0.6698, allocations: 58.53 kB / 1.559 GB, free: 1.934 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.6721, allocations: 1.415 MB / 1.561 GB, free: 0.5117 MB / 1.248 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.008909/0.6811, allocations: 5.67 MB / 1.566 GB, free: 10.71 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.6828, allocations: 1.009 MB / 1.567 GB, free: 9.648 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.6838, allocations: 0.6677 MB / 1.568 GB, free: 8.969 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.684, allocations: 32.98 kB / 1.568 GB, free: 8.938 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.348e-05/0.6841, allocations: 55.5 kB / 1.568 GB, free: 8.871 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001409/0.6855, allocations: 323.3 kB / 1.568 GB, free: 8.555 MB / 1.264 GB Notification: Performance of pre-optimization done (n=106): time 4.569e-06/0.6855, allocations: 0 / 1.568 GB, free: 8.555 MB / 1.264 GB Notification: Performance of matching and sorting (n=112): time 0.008612/0.6941, allocations: 4.372 MB / 1.573 GB, free: 4.152 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.6942, allocations: 171.2 kB / 1.573 GB, free: 3.949 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.6956, allocations: 1.008 MB / 1.574 GB, free: 2.93 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.6957, allocations: 53.64 kB / 1.574 GB, free: 2.871 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/0.6963, allocations: 0.7395 MB / 1.575 GB, free: 2.121 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.6967, allocations: 416.5 kB / 1.575 GB, free: 1.711 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/0.6971, allocations: 254.8 kB / 1.575 GB, free: 1.457 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.6973, allocations: 361.9 kB / 1.576 GB, free: 1.098 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008463/0.6981, allocations: 0.514 MB / 1.576 GB, free: 0.582 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.6994, allocations: 1.02 MB / 1.577 GB, free: 15.39 MB / 1.279 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.0119/0.7113, allocations: 4.493 MB / 1.581 GB, free: 10.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.7113, allocations: 0 / 1.581 GB, free: 10.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002798/0.7141, allocations: 1.566 MB / 1.583 GB, free: 9.219 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.7142, allocations: 8 kB / 1.583 GB, free: 9.211 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.7142, allocations: 8.906 kB / 1.583 GB, free: 9.203 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.7142, allocations: 16 kB / 1.583 GB, free: 9.188 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.7154, allocations: 287.5 kB / 1.583 GB, free: 8.906 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/0.7154, allocations: 19.94 kB / 1.583 GB, free: 8.887 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7168, allocations: 48.06 kB / 1.583 GB, free: 8.84 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.7169, allocations: 67.89 kB / 1.583 GB, free: 8.773 MB / 1.279 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 (163): * Single equations (assignments): 163 * 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.0008717/0.7178, allocations: 425.8 kB / 1.584 GB, free: 8.352 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.7181, allocations: 143.1 kB / 1.584 GB, free: 8.211 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.7205, allocations: 1.277 MB / 1.585 GB, free: 6.922 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.7205, allocations: 12 kB / 1.585 GB, free: 6.91 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.7205, allocations: 11.94 kB / 1.585 GB, free: 6.898 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001769/0.7222, allocations: 1.237 MB / 1.586 GB, free: 5.594 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006252/0.7285, allocations: 3.35 MB / 1.59 GB, free: 2.074 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/0.7285, allocations: 8 kB / 1.59 GB, free: 2.066 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.7297, allocations: 243.6 kB / 1.59 GB, free: 1.828 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/0.7297, allocations: 16 kB / 1.59 GB, free: 1.812 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/0.7298, allocations: 39.98 kB / 1.59 GB, free: 1.773 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-05/0.7298, allocations: 19.94 kB / 1.59 GB, free: 1.754 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/0.7298, allocations: 20.25 kB / 1.59 GB, free: 1.734 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/0.7329, allocations: 2.115 MB / 1.592 GB, free: 15.48 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000789/0.7337, allocations: 259 kB / 1.592 GB, free: 15.22 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.7339, allocations: 36 kB / 1.592 GB, free: 15.19 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.7349, allocations: 51.92 kB / 1.592 GB, free: 15.14 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.7351, allocations: 108.2 kB / 1.593 GB, free: 15.03 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-05/0.7352, allocations: 51.98 kB / 1.593 GB, free: 14.98 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009732/0.7361, allocations: 0.6586 MB / 1.593 GB, free: 14.32 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7361, allocations: 3.938 kB / 1.593 GB, free: 14.31 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001424/0.7376, allocations: 424 kB / 1.594 GB, free: 13.9 MB / 1.295 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.0004422/0.738, allocations: 232.4 kB / 1.594 GB, free: 13.66 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.7401, allocations: 1.167 MB / 1.595 GB, free: 12.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.7402, allocations: 4 kB / 1.595 GB, free: 12.49 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008042/0.741, allocations: 0.5244 MB / 1.596 GB, free: 11.97 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003639/0.7446, allocations: 0.7747 MB / 1.596 GB, free: 11.21 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.7505, allocations: 3.501 MB / 1.6 GB, free: 7.539 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009357/0.7514, allocations: 0.7877 MB / 1.601 GB, free: 6.719 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005353/0.752, allocations: 119.4 kB / 1.601 GB, free: 6.602 MB / 1.295 GB Notification: Performance of SimCode: time 1.152e-06/0.752, allocations: 0 / 1.601 GB, free: 6.602 MB / 1.295 GB Notification: Performance of Templates: time 0.7406/1.493, allocations: 24.06 MB / 1.624 GB, free: 272.1 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.684105545980856]