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.001282/0.001282, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001413/0.001413, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.127/3.127, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002061/0.002061, allocations: 67.11 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2962, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2261/0.5223, allocations: 186 MB / 1.509 GB, free: 6.336 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.5373, allocations: 9.292 MB / 1.518 GB, free: 13.03 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.5385, allocations: 83.25 kB / 1.518 GB, free: 12.95 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.5403, allocations: 0.7494 MB / 1.519 GB, free: 12.19 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006645/0.5469, allocations: 2.929 MB / 1.521 GB, free: 9.25 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.5502, allocations: 1.433 MB / 1.523 GB, free: 7.824 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005025/0.5552, allocations: 4.182 MB / 1.527 GB, free: 3.625 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.5566, allocations: 0.9897 MB / 1.528 GB, free: 2.602 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.5598, allocations: 1.884 MB / 1.53 GB, free: 0.7109 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.5622, allocations: 1.311 MB / 1.531 GB, free: 15.4 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.5625, allocations: 144 kB / 1.531 GB, free: 15.26 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.5663, allocations: 1.967 MB / 1.533 GB, free: 13.29 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006566/0.5669, allocations: 0.6231 MB / 1.534 GB, free: 12.66 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008597/0.5678, allocations: 0.7236 MB / 1.534 GB, free: 11.94 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.5717, allocations: 2.947 MB / 1.537 GB, free: 8.98 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.5717, allocations: 0 / 1.537 GB, free: 8.98 MB / 1.232 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5717, allocations: 4 kB / 1.537 GB, free: 8.977 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.5717, allocations: 0 / 1.537 GB, free: 8.977 MB / 1.232 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.003047/0.5747, allocations: 1.867 MB / 1.539 GB, free: 7.07 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.5748, allocations: 8.031 kB / 1.539 GB, free: 7.062 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/0.578, allocations: 498.5 kB / 1.54 GB, free: 6.574 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.5802, allocations: 1.057 MB / 1.541 GB, free: 5.48 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.5803, allocations: 86.14 kB / 1.541 GB, free: 5.395 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.5804, allocations: 112 kB / 1.541 GB, free: 5.285 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.5827, allocations: 1.61 MB / 1.542 GB, free: 3.535 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.5827, allocations: 3.938 kB / 1.542 GB, free: 3.531 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.5828, allocations: 48 kB / 1.542 GB, free: 3.484 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.5829, allocations: 38.14 kB / 1.542 GB, free: 3.445 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.5846, allocations: 1.066 MB / 1.543 GB, free: 2.371 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005251/0.5899, allocations: 2.701 MB / 1.546 GB, free: 15.62 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.5911, allocations: 0.7472 MB / 1.547 GB, free: 14.87 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006775/0.5918, allocations: 458.2 kB / 1.547 GB, free: 14.42 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/0.5921, allocations: 64.89 kB / 1.547 GB, free: 14.35 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.5921, allocations: 47.56 kB / 1.547 GB, free: 14.3 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 2.254e-06/0.5921, allocations: 0 / 1.547 GB, free: 14.3 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.005395/0.5975, allocations: 2.621 MB / 1.55 GB, free: 11.64 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.5976, allocations: 64.41 kB / 1.55 GB, free: 11.57 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009126/0.5985, allocations: 0.7475 MB / 1.551 GB, free: 10.81 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.706e-05/0.5986, allocations: 41.7 kB / 1.551 GB, free: 10.76 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.599, allocations: 0.5594 MB / 1.551 GB, free: 10.2 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.5993, allocations: 333.1 kB / 1.552 GB, free: 9.867 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.5996, allocations: 154.6 kB / 1.552 GB, free: 9.711 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5997, allocations: 345.9 kB / 1.552 GB, free: 9.367 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.6003, allocations: 337.8 kB / 1.552 GB, free: 9.039 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/0.601, allocations: 0.575 MB / 1.553 GB, free: 8.398 MB / 1.248 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.006321/0.6073, allocations: 2.813 MB / 1.556 GB, free: 5.559 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6073, allocations: 0 / 1.556 GB, free: 5.559 MB / 1.248 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001625/0.609, allocations: 1.001 MB / 1.557 GB, free: 4.551 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.609, allocations: 7.938 kB / 1.557 GB, free: 4.543 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.609, allocations: 4 kB / 1.557 GB, free: 4.539 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.609, allocations: 8 kB / 1.557 GB, free: 4.531 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/0.6098, allocations: 183.7 kB / 1.557 GB, free: 4.352 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6098, allocations: 7.938 kB / 1.557 GB, free: 4.344 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/0.6107, allocations: 31.98 kB / 1.557 GB, free: 4.312 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.6107, allocations: 31.94 kB / 1.557 GB, free: 4.281 MB / 1.248 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.0005513/0.6113, allocations: 394.7 kB / 1.557 GB, free: 3.887 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.6115, allocations: 115.2 kB / 1.557 GB, free: 3.773 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.6117, allocations: 130.4 kB / 1.558 GB, free: 3.637 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.6118, allocations: 8 kB / 1.558 GB, free: 3.629 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.6118, allocations: 4 kB / 1.558 GB, free: 3.625 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001588/0.6133, allocations: 1.086 MB / 1.559 GB, free: 2.465 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/0.6181, allocations: 2.681 MB / 1.561 GB, free: 15.62 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.6181, allocations: 8.188 kB / 1.561 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007868/0.6189, allocations: 171.7 kB / 1.561 GB, free: 15.45 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/0.6192, allocations: 97.66 kB / 1.562 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.6193, allocations: 28 kB / 1.562 GB, free: 15.32 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.6219, allocations: 2.833 MB / 1.564 GB, free: 12.28 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.431e-05/0.6219, allocations: 15.94 kB / 1.564 GB, free: 12.26 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.6243, allocations: 1.721 MB / 1.566 GB, free: 10.41 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005347/0.6249, allocations: 215.2 kB / 1.566 GB, free: 10.2 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.625, allocations: 31.98 kB / 1.566 GB, free: 10.16 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/0.6259, allocations: 37.11 kB / 1.566 GB, free: 10.13 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.626, allocations: 88.08 kB / 1.566 GB, free: 10.04 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/0.6261, allocations: 47.98 kB / 1.566 GB, free: 9.996 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006487/0.6268, allocations: 0.5068 MB / 1.567 GB, free: 9.496 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6268, allocations: 0 / 1.567 GB, free: 9.496 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001063/0.6278, allocations: 376 kB / 1.567 GB, free: 9.129 MB / 1.264 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.0003929/0.6282, allocations: 230.6 kB / 1.568 GB, free: 8.898 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.6295, allocations: 0.8043 MB / 1.568 GB, free: 8.094 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.6295, allocations: 8 kB / 1.568 GB, free: 8.086 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009568/0.6305, allocations: 0.6508 MB / 1.569 GB, free: 7.41 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/0.6338, allocations: 0.7456 MB / 1.57 GB, free: 6.684 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.6379, allocations: 2.769 MB / 1.572 GB, free: 3.766 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007762/0.6386, allocations: 0.6642 MB / 1.573 GB, free: 3.066 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009261/0.6396, allocations: 304.9 kB / 1.573 GB, free: 2.766 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.6398, allocations: 87.44 kB / 1.573 GB, free: 2.68 MB / 1.264 GB Notification: Performance of SimCode: time 4.2e-07/0.6398, allocations: 0 / 1.573 GB, free: 2.68 MB / 1.264 GB Notification: Performance of Templates: time 0.04387/0.6837, allocations: 27.26 MB / 1.6 GB, free: 8.016 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 -s gbode -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: 9.872256333997939]