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.001576/0.001576, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001736/0.001736, allocations: 204 kB / 20.09 MB, free: 2.977 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.877/2.877, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 GB " [Timeout remaining time 176] 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.001889/0.001889, allocations: 71.89 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9946/0.9965, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2822/1.279, allocations: 226.5 MB / 1.543 GB, free: 6.582 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02046/1.299, allocations: 12.17 MB / 1.555 GB, free: 10.38 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/1.302, allocations: 103.1 kB / 1.555 GB, free: 10.28 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003012/1.305, allocations: 0.8849 MB / 1.556 GB, free: 9.391 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008861/1.314, allocations: 2.967 MB / 1.559 GB, free: 6.41 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004111/1.318, allocations: 1.441 MB / 1.56 GB, free: 4.977 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007196/1.325, allocations: 4.447 MB / 1.565 GB, free: 0.5117 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/1.328, allocations: 1.475 MB / 1.566 GB, free: 14.99 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007197/1.335, allocations: 2.84 MB / 1.569 GB, free: 12.15 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/1.339, allocations: 1.635 MB / 1.571 GB, free: 10.53 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004791/1.339, allocations: 180 kB / 1.571 GB, free: 10.35 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004727/1.344, allocations: 2.284 MB / 1.573 GB, free: 8.062 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008729/1.345, allocations: 0.7282 MB / 1.574 GB, free: 7.332 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/1.346, allocations: 1.042 MB / 1.575 GB, free: 6.285 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005304/1.352, allocations: 3.359 MB / 1.578 GB, free: 2.914 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.352, allocations: 0 / 1.578 GB, free: 2.914 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.954e-06/1.352, allocations: 0 / 1.578 GB, free: 2.914 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.401e-05/1.352, allocations: 0 / 1.578 GB, free: 2.914 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.004135/1.356, allocations: 2.324 MB / 1.58 GB, free: 0.5312 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.356, allocations: 11.98 kB / 1.58 GB, free: 0.5195 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/1.359, allocations: 0.51 MB / 1.581 GB, free: 8 kB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/1.362, allocations: 1.354 MB / 1.582 GB, free: 14.6 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/1.362, allocations: 114.7 kB / 1.582 GB, free: 14.48 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/1.362, allocations: 155.9 kB / 1.582 GB, free: 14.33 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/1.365, allocations: 1.78 MB / 1.584 GB, free: 12.44 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/1.365, allocations: 4 kB / 1.584 GB, free: 12.44 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/1.365, allocations: 60 kB / 1.584 GB, free: 12.38 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/1.365, allocations: 50.55 kB / 1.584 GB, free: 12.33 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/1.367, allocations: 1.419 MB / 1.586 GB, free: 10.9 MB / 1.264 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.009564/1.377, allocations: 7.555 MB / 1.593 GB, free: 2.914 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/1.379, allocations: 1.02 MB / 1.594 GB, free: 1.852 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/1.38, allocations: 0.6593 MB / 1.595 GB, free: 1.18 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/1.38, allocations: 118 kB / 1.595 GB, free: 1.047 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.304e-05/1.38, allocations: 51.56 kB / 1.595 GB, free: 0.9844 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001622/1.382, allocations: 351 kB / 1.595 GB, free: 0.6406 MB / 1.264 GB Notification: Performance of pre-optimization done (n=106): time 4.819e-06/1.382, allocations: 0 / 1.595 GB, free: 0.6406 MB / 1.264 GB Notification: Performance of matching and sorting (n=112): time 0.009151/1.391, allocations: 4.548 MB / 1.599 GB, free: 12.03 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.391, allocations: 167.2 kB / 1.6 GB, free: 11.83 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/1.393, allocations: 1.267 MB / 1.601 GB, free: 10.55 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/1.393, allocations: 49.7 kB / 1.601 GB, free: 10.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/1.394, allocations: 0.7137 MB / 1.602 GB, free: 9.777 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004164/1.394, allocations: 412.4 kB / 1.602 GB, free: 9.371 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004232/1.394, allocations: 267.6 kB / 1.602 GB, free: 9.102 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001816/1.395, allocations: 357.9 kB / 1.603 GB, free: 8.746 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008899/1.396, allocations: 0.527 MB / 1.603 GB, free: 8.219 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/1.397, allocations: 0.8557 MB / 1.604 GB, free: 7.238 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.01233/1.409, allocations: 4.795 MB / 1.609 GB, free: 2.289 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/1.409, allocations: 3.984 kB / 1.609 GB, free: 2.285 MB / 1.279 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002919/1.412, allocations: 1.628 MB / 1.61 GB, free: 0.6484 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.412, allocations: 8.938 kB / 1.61 GB, free: 0.6406 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.412, allocations: 8 kB / 1.61 GB, free: 0.6328 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.412, allocations: 12 kB / 1.61 GB, free: 0.6211 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/1.413, allocations: 299.5 kB / 1.611 GB, free: 336 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/1.413, allocations: 23.92 kB / 1.611 GB, free: 312 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.415, allocations: 45.64 kB / 1.611 GB, free: 268 kB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.415, allocations: 59.98 kB / 1.611 GB, free: 208 kB / 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 (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.0007997/1.416, allocations: 431.8 kB / 1.611 GB, free: 15.77 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/1.416, allocations: 174.9 kB / 1.611 GB, free: 15.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/1.418, allocations: 1.287 MB / 1.612 GB, free: 14.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.418, allocations: 12 kB / 1.613 GB, free: 14.29 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.418, allocations: 0 / 1.613 GB, free: 14.29 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001754/1.42, allocations: 1.252 MB / 1.614 GB, free: 12.97 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006385/1.426, allocations: 3.758 MB / 1.617 GB, free: 9.016 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.426, allocations: 15.98 kB / 1.617 GB, free: 9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.428, allocations: 244.5 kB / 1.618 GB, free: 8.762 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/1.428, allocations: 20 kB / 1.618 GB, free: 8.742 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.688e-05/1.428, allocations: 43.92 kB / 1.618 GB, free: 8.699 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.645e-05/1.428, allocations: 15.94 kB / 1.618 GB, free: 8.684 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/1.428, allocations: 15.94 kB / 1.618 GB, free: 8.668 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/1.431, allocations: 2.133 MB / 1.62 GB, free: 6.379 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007349/1.432, allocations: 359.9 kB / 1.62 GB, free: 6.008 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/1.432, allocations: 47.92 kB / 1.62 GB, free: 5.961 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.433, allocations: 52.59 kB / 1.62 GB, free: 5.91 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.433, allocations: 104.3 kB / 1.62 GB, free: 5.805 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/1.433, allocations: 51.98 kB / 1.62 GB, free: 5.754 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001242/1.434, allocations: 0.8529 MB / 1.621 GB, free: 4.902 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.434, allocations: 0 / 1.621 GB, free: 4.902 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001414/1.436, allocations: 431.9 kB / 1.622 GB, free: 4.48 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.0004299/1.436, allocations: 239.9 kB / 1.622 GB, free: 4.242 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002098/1.438, allocations: 1.177 MB / 1.623 GB, free: 3.066 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.438, allocations: 4 kB / 1.623 GB, free: 3.062 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008181/1.439, allocations: 0.5252 MB / 1.624 GB, free: 2.543 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004022/1.443, allocations: 0.9184 MB / 1.624 GB, free: 1.637 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/1.449, allocations: 3.53 MB / 1.628 GB, free: 13.93 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.45, allocations: 1.372 MB / 1.629 GB, free: 12.53 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/1.451, allocations: 135.3 kB / 1.629 GB, free: 12.39 MB / 1.311 GB Notification: Performance of SimCode: time 1.092e-06/1.451, allocations: 0 / 1.629 GB, free: 12.39 MB / 1.311 GB Notification: Performance of Templates: time 0.04182/1.492, allocations: 25.44 MB / 1.654 GB, free: 3.129 MB / 1.326 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: 16.55317096300132]