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.001352/0.001352, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001476/0.001476, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.187/3.187, allocations: 0.4892 GB / 0.7951 GB, free: 35.53 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.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.002076/0.002076, allocations: 70.88 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3411, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2398/0.5809, allocations: 186 MB / 1.508 GB, free: 7.262 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.5966, allocations: 9.28 MB / 1.517 GB, free: 13.96 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.5986, allocations: 83.31 kB / 1.517 GB, free: 13.88 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.6008, allocations: 0.7493 MB / 1.518 GB, free: 13.12 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007801/0.6086, allocations: 2.928 MB / 1.521 GB, free: 10.19 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.6126, allocations: 1.412 MB / 1.522 GB, free: 8.781 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00603/0.6186, allocations: 4.146 MB / 1.526 GB, free: 4.621 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.6204, allocations: 0.9857 MB / 1.527 GB, free: 3.602 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003842/0.6242, allocations: 1.884 MB / 1.529 GB, free: 1.711 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.627, allocations: 1.261 MB / 1.53 GB, free: 464 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.6273, allocations: 144 kB / 1.53 GB, free: 320 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.6316, allocations: 1.944 MB / 1.532 GB, free: 14.36 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007692/0.6323, allocations: 0.631 MB / 1.533 GB, free: 13.73 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.6334, allocations: 0.7197 MB / 1.533 GB, free: 13.01 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005431/0.6389, allocations: 2.951 MB / 1.536 GB, free: 10.05 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6389, allocations: 0 / 1.536 GB, free: 10.05 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6389, allocations: 0 / 1.536 GB, free: 10.05 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.902e-05/0.6389, allocations: 0 / 1.536 GB, free: 10.05 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.003445/0.6423, allocations: 1.869 MB / 1.538 GB, free: 8.137 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6424, allocations: 8.031 kB / 1.538 GB, free: 8.129 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.6456, allocations: 494.5 kB / 1.539 GB, free: 7.645 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.6479, allocations: 1.06 MB / 1.54 GB, free: 6.547 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.648, allocations: 82.14 kB / 1.54 GB, free: 6.465 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.6482, allocations: 108 kB / 1.54 GB, free: 6.359 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.6505, allocations: 1.609 MB / 1.541 GB, free: 4.609 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.6506, allocations: 3.938 kB / 1.541 GB, free: 4.605 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.6507, allocations: 48 kB / 1.541 GB, free: 4.559 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.6507, allocations: 50.06 kB / 1.542 GB, free: 4.508 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.6526, allocations: 1.066 MB / 1.543 GB, free: 3.434 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/0.658, allocations: 2.697 MB / 1.545 GB, free: 0.6875 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.6593, allocations: 0.7474 MB / 1.546 GB, free: 15.93 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006796/0.66, allocations: 454.2 kB / 1.546 GB, free: 15.48 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.6603, allocations: 64.91 kB / 1.546 GB, free: 15.42 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.6603, allocations: 47.55 kB / 1.546 GB, free: 15.36 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 3.537e-06/0.6603, allocations: 0 / 1.546 GB, free: 15.36 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.005671/0.666, allocations: 2.621 MB / 1.549 GB, free: 12.71 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.6661, allocations: 64.41 kB / 1.549 GB, free: 12.64 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.6671, allocations: 0.7475 MB / 1.55 GB, free: 11.88 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.722e-05/0.6672, allocations: 45.7 kB / 1.55 GB, free: 11.83 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.6676, allocations: 0.5594 MB / 1.55 GB, free: 11.26 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.6679, allocations: 329.1 kB / 1.551 GB, free: 10.94 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.6682, allocations: 162.6 kB / 1.551 GB, free: 10.77 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.6684, allocations: 341.9 kB / 1.551 GB, free: 10.43 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/0.6689, allocations: 337.8 kB / 1.552 GB, free: 10.11 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007592/0.6697, allocations: 0.575 MB / 1.552 GB, free: 9.465 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.006178/0.6758, allocations: 2.811 MB / 1.555 GB, free: 6.625 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6758, allocations: 0 / 1.555 GB, free: 6.625 MB / 1.248 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001699/0.6775, allocations: 0.9965 MB / 1.556 GB, free: 5.621 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6776, allocations: 17.59 kB / 1.556 GB, free: 5.605 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.6776, allocations: 11.92 kB / 1.556 GB, free: 5.594 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.6776, allocations: 4 kB / 1.556 GB, free: 5.59 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.6784, allocations: 175.8 kB / 1.556 GB, free: 5.418 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.6784, allocations: 11.94 kB / 1.556 GB, free: 5.406 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009287/0.6793, allocations: 28.38 kB / 1.556 GB, free: 5.379 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/0.6794, allocations: 35.98 kB / 1.556 GB, free: 5.344 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.0006392/0.68, allocations: 379.2 kB / 1.556 GB, free: 4.965 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.6803, allocations: 119.2 kB / 1.557 GB, free: 4.848 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.6805, allocations: 130.4 kB / 1.557 GB, free: 4.711 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.6805, allocations: 15.92 kB / 1.557 GB, free: 4.695 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.6805, allocations: 0 / 1.557 GB, free: 4.695 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001731/0.6823, allocations: 1.086 MB / 1.558 GB, free: 3.539 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/0.6873, allocations: 2.685 MB / 1.56 GB, free: 0.6914 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/0.6873, allocations: 8 kB / 1.56 GB, free: 0.6836 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/0.6881, allocations: 171.7 kB / 1.561 GB, free: 0.5156 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.6885, allocations: 97.69 kB / 1.561 GB, free: 424 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.6885, allocations: 31.98 kB / 1.561 GB, free: 392 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.6913, allocations: 2.822 MB / 1.563 GB, free: 13.36 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.6914, allocations: 11.94 kB / 1.563 GB, free: 13.34 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/0.6941, allocations: 1.725 MB / 1.565 GB, free: 11.48 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.6948, allocations: 219.2 kB / 1.565 GB, free: 11.27 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.6949, allocations: 31.98 kB / 1.565 GB, free: 11.23 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008742/0.6958, allocations: 35.98 kB / 1.565 GB, free: 11.2 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.696, allocations: 92.06 kB / 1.565 GB, free: 11.11 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/0.6961, allocations: 47.98 kB / 1.566 GB, free: 11.06 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007211/0.6968, allocations: 0.5107 MB / 1.566 GB, free: 10.56 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6968, allocations: 4 kB / 1.566 GB, free: 10.55 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001126/0.6979, allocations: 364 kB / 1.566 GB, free: 10.2 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.0004176/0.6983, allocations: 227.8 kB / 1.567 GB, free: 9.969 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001469/0.6998, allocations: 0.805 MB / 1.567 GB, free: 9.164 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.6998, allocations: 8 kB / 1.567 GB, free: 9.156 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.7008, allocations: 0.6539 MB / 1.568 GB, free: 8.477 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/0.7041, allocations: 0.739 MB / 1.569 GB, free: 7.758 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.7086, allocations: 2.832 MB / 1.572 GB, free: 4.77 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/0.7094, allocations: 0.6564 MB / 1.572 GB, free: 4.078 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.7098, allocations: 95.42 kB / 1.572 GB, free: 3.984 MB / 1.264 GB Notification: Performance of SimCode: time 8.81e-07/0.7098, allocations: 0 / 1.572 GB, free: 3.984 MB / 1.264 GB Notification: Performance of Templates: time 0.03878/0.7486, allocations: 25.44 MB / 1.597 GB, free: 10.64 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: 16.251069085206836]