Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.001653/0.001653, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00227/0.00227, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.027 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.048/3.048, allocations: 0.49 GB / 0.7951 GB, free: 33.49 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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [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.001986/0.001986, allocations: 66 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.314, allocations: 176.1 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2567/0.5707, allocations: 214.2 MB / 1.536 GB, free: 10.41 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.5872, allocations: 9.972 MB / 1.545 GB, free: 424 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.5892, allocations: 83.31 kB / 1.545 GB, free: 340 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.5917, allocations: 0.8117 MB / 1.546 GB, free: 15.51 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008027/0.5997, allocations: 2.972 MB / 1.549 GB, free: 12.53 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.6038, allocations: 1.452 MB / 1.55 GB, free: 11.08 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.006675/0.6104, allocations: 4.182 MB / 1.555 GB, free: 6.887 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.6126, allocations: 0.9975 MB / 1.556 GB, free: 5.855 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004383/0.617, allocations: 1.873 MB / 1.557 GB, free: 3.977 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003214/0.6202, allocations: 1.315 MB / 1.559 GB, free: 2.668 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005012/0.6207, allocations: 144 kB / 1.559 GB, free: 2.527 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005282/0.626, allocations: 2.541 MB / 1.561 GB, free: 15.98 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0009527/0.627, allocations: 0.6231 MB / 1.562 GB, free: 15.36 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.6286, allocations: 0.8634 MB / 1.563 GB, free: 14.49 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006591/0.6352, allocations: 3.017 MB / 1.566 GB, free: 11.46 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6352, allocations: 0 / 1.566 GB, free: 11.46 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6352, allocations: 4 kB / 1.566 GB, free: 11.46 MB / 1.264 GB Notification: Performance of Transformations before backend: time 8.204e-05/0.6353, allocations: 0 / 1.566 GB, free: 11.46 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00451/0.6398, allocations: 1.862 MB / 1.567 GB, free: 9.555 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6399, allocations: 8.031 kB / 1.567 GB, free: 9.547 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/0.6432, allocations: 0.4907 MB / 1.568 GB, free: 9.055 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.6457, allocations: 1.053 MB / 1.569 GB, free: 7.965 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/0.6458, allocations: 86.14 kB / 1.569 GB, free: 7.879 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.646, allocations: 119.9 kB / 1.569 GB, free: 7.762 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.6481, allocations: 1.145 MB / 1.57 GB, free: 6.586 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.6482, allocations: 7.938 kB / 1.57 GB, free: 6.578 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.6483, allocations: 48 kB / 1.57 GB, free: 6.531 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/0.6483, allocations: 46.11 kB / 1.57 GB, free: 6.484 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.6502, allocations: 1.078 MB / 1.571 GB, free: 5.398 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006646/0.6568, allocations: 4.361 MB / 1.576 GB, free: 0.7031 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.6581, allocations: 0.7584 MB / 1.576 GB, free: 15.94 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006737/0.6588, allocations: 454.2 kB / 1.577 GB, free: 15.49 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/0.6591, allocations: 68.94 kB / 1.577 GB, free: 15.42 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.6591, allocations: 47.56 kB / 1.577 GB, free: 15.37 MB / 1.279 GB Notification: Performance of pre-optimization done (n=83): time 2.275e-06/0.6591, allocations: 0 / 1.577 GB, free: 15.37 MB / 1.279 GB Notification: Performance of matching and sorting (n=89): time 0.005472/0.6646, allocations: 2.636 MB / 1.58 GB, free: 12.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.6647, allocations: 60.41 kB / 1.58 GB, free: 12.62 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.666, allocations: 0.9793 MB / 1.581 GB, free: 11.63 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/0.6661, allocations: 41.7 kB / 1.581 GB, free: 11.58 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004876/0.6666, allocations: 0.5521 MB / 1.581 GB, free: 11.02 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.6669, allocations: 329.2 kB / 1.581 GB, free: 10.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.6672, allocations: 158.6 kB / 1.582 GB, free: 10.54 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.6674, allocations: 337.9 kB / 1.582 GB, free: 10.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.6679, allocations: 341.8 kB / 1.582 GB, free: 9.871 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.6686, allocations: 489.9 kB / 1.583 GB, free: 9.352 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 (bou.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: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.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 (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006105/0.6747, allocations: 2.811 MB / 1.586 GB, free: 6.512 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6747, allocations: 0 / 1.586 GB, free: 6.512 MB / 1.279 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001756/0.6765, allocations: 1.024 MB / 1.587 GB, free: 5.48 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.6765, allocations: 6.031 kB / 1.587 GB, free: 5.477 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6765, allocations: 4 kB / 1.587 GB, free: 5.473 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.6765, allocations: 8 kB / 1.587 GB, free: 5.465 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000786/0.6773, allocations: 183.7 kB / 1.587 GB, free: 5.285 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.6773, allocations: 15.92 kB / 1.587 GB, free: 5.27 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009888/0.6783, allocations: 20 kB / 1.587 GB, free: 5.25 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.6784, allocations: 32 kB / 1.587 GB, free: 5.219 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 volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0006249/0.679, allocations: 384.8 kB / 1.587 GB, free: 4.836 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.6793, allocations: 135.1 kB / 1.587 GB, free: 4.703 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.6796, allocations: 152.2 kB / 1.587 GB, free: 4.551 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.6796, allocations: 8 kB / 1.587 GB, free: 4.543 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.6796, allocations: 0 / 1.587 GB, free: 4.543 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001602/0.6812, allocations: 1.09 MB / 1.588 GB, free: 3.379 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/0.6864, allocations: 3.023 MB / 1.591 GB, free: 188 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.6864, allocations: 8 kB / 1.591 GB, free: 180 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007153/0.6871, allocations: 167.7 kB / 1.592 GB, free: 12 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003581/0.6875, allocations: 97.66 kB / 1.592 GB, free: 15.91 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/0.6876, allocations: 31.94 kB / 1.592 GB, free: 15.88 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.6903, allocations: 2.88 MB / 1.595 GB, free: 12.77 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.6903, allocations: 15.94 kB / 1.595 GB, free: 12.75 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.6931, allocations: 1.742 MB / 1.596 GB, free: 10.88 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/0.6939, allocations: 239.1 kB / 1.596 GB, free: 10.64 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.6941, allocations: 35.92 kB / 1.597 GB, free: 10.61 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.6951, allocations: 37.67 kB / 1.597 GB, free: 10.57 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.6953, allocations: 92.08 kB / 1.597 GB, free: 10.48 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.6954, allocations: 47.97 kB / 1.597 GB, free: 10.44 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001067/0.6964, allocations: 0.6956 MB / 1.597 GB, free: 9.734 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6964, allocations: 0 / 1.597 GB, free: 9.734 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001305/0.6977, allocations: 375.9 kB / 1.598 GB, free: 9.367 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004499/0.6982, allocations: 226.9 kB / 1.598 GB, free: 9.137 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.6998, allocations: 0.8121 MB / 1.599 GB, free: 8.324 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.6998, allocations: 0 / 1.599 GB, free: 8.324 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.7009, allocations: 0.6622 MB / 1.599 GB, free: 7.637 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/0.7051, allocations: 0.9268 MB / 1.6 GB, free: 6.727 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.7096, allocations: 2.806 MB / 1.603 GB, free: 3.77 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.7107, allocations: 1.253 MB / 1.604 GB, free: 2.488 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001163/0.7118, allocations: 339 kB / 1.605 GB, free: 2.152 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.7121, allocations: 107.4 kB / 1.605 GB, free: 2.047 MB / 1.295 GB Notification: Performance of SimCode: time 7.31e-07/0.7121, allocations: 0 / 1.605 GB, free: 2.047 MB / 1.295 GB Notification: Performance of Templates: time 0.6453/1.357, allocations: 29.36 MB / 1.633 GB, free: 270.5 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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: 10.246421533636749]