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.001444/0.001444, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001599/0.001599, allocations: 219.3 kB / 23.01 MB, free: 4.605 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.332/1.332, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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.941/2.941, allocations: 0.49 GB / 0.7958 GB, free: 33.34 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.001909/0.001909, allocations: 62.59 kB / 1.155 GB, free: 25.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.304, allocations: 176.1 MB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2236/0.5275, allocations: 214.2 MB / 1.536 GB, free: 10.41 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.5417, allocations: 9.973 MB / 1.546 GB, free: 424 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.543, allocations: 79.31 kB / 1.546 GB, free: 344 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.5449, allocations: 0.8077 MB / 1.547 GB, free: 15.52 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.00654/0.5514, allocations: 2.982 MB / 1.55 GB, free: 12.53 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.5548, allocations: 1.447 MB / 1.551 GB, free: 11.09 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005196/0.56, allocations: 4.189 MB / 1.555 GB, free: 6.883 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.5614, allocations: 1.001 MB / 1.556 GB, free: 5.848 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003199/0.5646, allocations: 1.869 MB / 1.558 GB, free: 3.973 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.5671, allocations: 1.308 MB / 1.559 GB, free: 2.668 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.5674, allocations: 144 kB / 1.56 GB, free: 2.527 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004998/0.5724, allocations: 2.549 MB / 1.562 GB, free: 15.97 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0007384/0.5732, allocations: 0.6192 MB / 1.563 GB, free: 15.35 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.5743, allocations: 0.8634 MB / 1.564 GB, free: 14.48 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005188/0.5795, allocations: 3.014 MB / 1.566 GB, free: 11.46 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.5795, allocations: 4 kB / 1.566 GB, free: 11.46 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5795, allocations: 0 / 1.566 GB, free: 11.46 MB / 1.264 GB Notification: Performance of Transformations before backend: time 3.983e-05/0.5796, allocations: 4 kB / 1.566 GB, free: 11.45 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.003171/0.5827, allocations: 1.863 MB / 1.568 GB, free: 9.551 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5828, allocations: 12.03 kB / 1.568 GB, free: 9.539 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/0.5858, allocations: 494.5 kB / 1.569 GB, free: 9.055 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.5879, allocations: 1.06 MB / 1.57 GB, free: 7.957 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.175e-05/0.588, allocations: 86.14 kB / 1.57 GB, free: 7.871 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.5882, allocations: 112 kB / 1.57 GB, free: 7.762 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.5902, allocations: 1.149 MB / 1.571 GB, free: 6.582 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.5903, allocations: 3.938 kB / 1.571 GB, free: 6.578 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.5904, allocations: 48 kB / 1.571 GB, free: 6.531 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-05/0.5904, allocations: 46.06 kB / 1.571 GB, free: 6.484 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.5922, allocations: 1.074 MB / 1.572 GB, free: 5.402 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006394/0.5986, allocations: 4.367 MB / 1.577 GB, free: 0.7031 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.5998, allocations: 0.7545 MB / 1.577 GB, free: 15.94 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006398/0.6004, allocations: 458.2 kB / 1.578 GB, free: 15.49 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.6007, allocations: 64.86 kB / 1.578 GB, free: 15.43 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.6008, allocations: 47.56 kB / 1.578 GB, free: 15.37 MB / 1.279 GB Notification: Performance of pre-optimization done (n=83): time 2.515e-06/0.6008, allocations: 4 kB / 1.578 GB, free: 15.37 MB / 1.279 GB Notification: Performance of matching and sorting (n=89): time 0.005281/0.6061, allocations: 2.632 MB / 1.58 GB, free: 12.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.6061, allocations: 60.41 kB / 1.58 GB, free: 12.63 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.6073, allocations: 0.9832 MB / 1.581 GB, free: 11.63 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-05/0.6074, allocations: 41.7 kB / 1.581 GB, free: 11.58 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.6078, allocations: 0.5521 MB / 1.582 GB, free: 11.02 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.6081, allocations: 325.2 kB / 1.582 GB, free: 10.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.6084, allocations: 154.6 kB / 1.582 GB, free: 10.55 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6085, allocations: 349.9 kB / 1.583 GB, free: 10.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.609, allocations: 337.8 kB / 1.583 GB, free: 9.871 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.6097, allocations: 481.9 kB / 1.584 GB, free: 9.359 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.00574/0.6154, allocations: 2.824 MB / 1.586 GB, free: 6.508 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.6154, allocations: 0 / 1.586 GB, free: 6.508 MB / 1.279 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001617/0.6171, allocations: 1.012 MB / 1.587 GB, free: 5.488 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6171, allocations: 8 kB / 1.587 GB, free: 5.48 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6171, allocations: 4.312 kB / 1.587 GB, free: 5.477 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.6171, allocations: 16.03 kB / 1.587 GB, free: 5.461 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.6178, allocations: 175.8 kB / 1.587 GB, free: 5.289 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.6179, allocations: 15.92 kB / 1.587 GB, free: 5.273 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008785/0.6187, allocations: 24 kB / 1.588 GB, free: 5.25 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/0.6188, allocations: 35.98 kB / 1.588 GB, free: 5.215 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.0005967/0.6194, allocations: 377.5 kB / 1.588 GB, free: 4.836 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.6196, allocations: 135.1 kB / 1.588 GB, free: 4.703 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.6199, allocations: 152.3 kB / 1.588 GB, free: 4.551 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.6199, allocations: 8 kB / 1.588 GB, free: 4.543 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.6199, allocations: 0 / 1.588 GB, free: 4.543 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/0.6214, allocations: 1.09 MB / 1.589 GB, free: 3.379 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/0.6261, allocations: 3.027 MB / 1.592 GB, free: 184 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.6261, allocations: 8 kB / 1.592 GB, free: 176 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/0.6268, allocations: 163.7 kB / 1.592 GB, free: 12 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.6272, allocations: 101.7 kB / 1.592 GB, free: 15.91 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.6272, allocations: 31.94 kB / 1.593 GB, free: 15.88 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.6297, allocations: 2.875 MB / 1.595 GB, free: 12.77 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.6297, allocations: 15.94 kB / 1.595 GB, free: 12.75 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.6322, allocations: 1.742 MB / 1.597 GB, free: 10.88 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/0.6329, allocations: 239.1 kB / 1.597 GB, free: 10.64 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.633, allocations: 35.92 kB / 1.597 GB, free: 10.61 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008272/0.6338, allocations: 35.98 kB / 1.597 GB, free: 10.57 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.634, allocations: 88.08 kB / 1.597 GB, free: 10.49 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/0.6341, allocations: 47.97 kB / 1.597 GB, free: 10.44 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009227/0.635, allocations: 0.6995 MB / 1.598 GB, free: 9.734 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/0.635, allocations: 0 / 1.598 GB, free: 9.734 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001046/0.636, 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.0003773/0.6364, allocations: 219.7 kB / 1.599 GB, free: 9.145 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.6377, allocations: 0.8089 MB / 1.599 GB, free: 8.336 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.6378, allocations: 4.062 kB / 1.6 GB, free: 8.332 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009304/0.6387, allocations: 0.6578 MB / 1.6 GB, free: 7.648 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/0.6425, allocations: 0.9333 MB / 1.601 GB, free: 6.734 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.6468, allocations: 2.88 MB / 1.604 GB, free: 3.703 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.6478, allocations: 1.245 MB / 1.605 GB, free: 2.43 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.6482, allocations: 107.4 kB / 1.605 GB, free: 2.324 MB / 1.295 GB Notification: Performance of SimCode: time 8.62e-07/0.6482, allocations: 0 / 1.605 GB, free: 2.324 MB / 1.295 GB Notification: Performance of Templates: time 0.6326/1.281, allocations: 27.36 MB / 1.632 GB, free: 270.3 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/jenkins1/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: 14.823300157993799]