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.00174/0.00174, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002119/0.002119, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.474/3.474, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002063/0.002063, allocations: 70.27 kB / 1.155 GB, free: 25.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4206, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2611/0.6817, allocations: 186 MB / 1.509 GB, free: 6.383 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.6995, allocations: 9.292 MB / 1.518 GB, free: 13.07 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.7019, allocations: 79.31 kB / 1.518 GB, free: 13 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.7044, allocations: 0.7571 MB / 1.519 GB, free: 12.23 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.009217/0.7136, allocations: 2.925 MB / 1.521 GB, free: 9.297 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004855/0.7184, allocations: 1.44 MB / 1.523 GB, free: 7.863 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.008298/0.7267, allocations: 4.184 MB / 1.527 GB, free: 3.664 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.7291, allocations: 0.9935 MB / 1.528 GB, free: 2.637 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.7342, allocations: 1.884 MB / 1.53 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003885/0.7381, allocations: 1.296 MB / 1.531 GB, free: 15.45 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004582/0.7385, allocations: 148 kB / 1.531 GB, free: 15.31 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005483/0.744, allocations: 1.967 MB / 1.533 GB, free: 13.34 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008849/0.7449, allocations: 0.6231 MB / 1.534 GB, free: 12.71 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.7462, allocations: 0.7159 MB / 1.534 GB, free: 11.99 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006032/0.7522, allocations: 2.955 MB / 1.537 GB, free: 9.027 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7522, allocations: 3.938 kB / 1.537 GB, free: 9.023 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7522, allocations: 0 / 1.537 GB, free: 9.023 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.147e-05/0.7523, allocations: 0 / 1.537 GB, free: 9.023 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.00357/0.7558, allocations: 1.866 MB / 1.539 GB, free: 7.117 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7559, allocations: 8.031 kB / 1.539 GB, free: 7.109 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/0.7592, allocations: 498.5 kB / 1.54 GB, free: 6.621 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.7616, allocations: 1.053 MB / 1.541 GB, free: 5.531 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.923e-05/0.7617, allocations: 90.12 kB / 1.541 GB, free: 5.441 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.7619, allocations: 116 kB / 1.541 GB, free: 5.328 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.7649, allocations: 1.605 MB / 1.542 GB, free: 3.582 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.7649, allocations: 3.938 kB / 1.542 GB, free: 3.578 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.7651, allocations: 48 kB / 1.542 GB, free: 3.531 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.159e-05/0.7651, allocations: 38.14 kB / 1.542 GB, free: 3.492 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.7671, allocations: 1.07 MB / 1.543 GB, free: 2.414 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/0.7729, allocations: 2.698 MB / 1.546 GB, free: 15.66 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.7742, allocations: 0.7552 MB / 1.547 GB, free: 14.9 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007081/0.7749, allocations: 458.2 kB / 1.547 GB, free: 14.45 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.7753, allocations: 64.89 kB / 1.547 GB, free: 14.39 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.7753, allocations: 47.56 kB / 1.547 GB, free: 14.33 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 2.925e-06/0.7753, allocations: 0 / 1.547 GB, free: 14.33 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.00589/0.7812, allocations: 2.613 MB / 1.55 GB, free: 11.69 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.7813, allocations: 64.41 kB / 1.55 GB, free: 11.61 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.7823, allocations: 0.7475 MB / 1.551 GB, free: 10.85 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.754e-05/0.7824, allocations: 41.7 kB / 1.551 GB, free: 10.8 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005125/0.7829, allocations: 0.5632 MB / 1.551 GB, free: 10.23 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.7833, allocations: 329 kB / 1.552 GB, free: 9.914 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.7835, allocations: 154.6 kB / 1.552 GB, free: 9.758 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.7838, allocations: 345.9 kB / 1.552 GB, free: 9.414 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/0.7843, allocations: 341.8 kB / 1.552 GB, free: 9.082 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007963/0.7851, allocations: 0.5749 MB / 1.553 GB, free: 8.441 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.006371/0.7915, allocations: 2.815 MB / 1.556 GB, free: 5.598 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7915, allocations: 0 / 1.556 GB, free: 5.598 MB / 1.248 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001817/0.7933, allocations: 0.9926 MB / 1.557 GB, free: 4.598 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.7933, allocations: 7.938 kB / 1.557 GB, free: 4.59 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.7934, allocations: 4 kB / 1.557 GB, free: 4.586 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.7934, allocations: 8.375 kB / 1.557 GB, free: 4.578 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.7942, allocations: 187.7 kB / 1.557 GB, free: 4.395 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.7942, allocations: 7.938 kB / 1.557 GB, free: 4.387 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009716/0.7951, allocations: 28 kB / 1.557 GB, free: 4.359 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.7952, allocations: 31.98 kB / 1.557 GB, free: 4.328 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.0007853/0.796, allocations: 385.4 kB / 1.557 GB, free: 3.941 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.7962, allocations: 119.2 kB / 1.557 GB, free: 3.824 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.7965, allocations: 130.4 kB / 1.558 GB, free: 3.688 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.7965, allocations: 8 kB / 1.558 GB, free: 3.68 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.7966, allocations: 8 kB / 1.558 GB, free: 3.672 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001806/0.7984, allocations: 1.082 MB / 1.559 GB, free: 2.516 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005123/0.8035, allocations: 2.685 MB / 1.561 GB, free: 15.67 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.8035, allocations: 8 kB / 1.561 GB, free: 15.66 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007982/0.8043, allocations: 167.7 kB / 1.561 GB, free: 15.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/0.8047, allocations: 102.3 kB / 1.562 GB, free: 15.39 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.8047, allocations: 35.98 kB / 1.562 GB, free: 15.36 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00288/0.8076, allocations: 2.822 MB / 1.564 GB, free: 12.33 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.444e-05/0.8077, allocations: 15.94 kB / 1.564 GB, free: 12.31 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.8106, allocations: 1.721 MB / 1.566 GB, free: 10.46 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007721/0.8114, allocations: 211.2 kB / 1.566 GB, free: 10.25 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.8116, allocations: 39.98 kB / 1.566 GB, free: 10.21 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009217/0.8125, allocations: 39.7 kB / 1.566 GB, free: 10.18 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.8127, allocations: 92.06 kB / 1.566 GB, free: 10.09 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.8128, allocations: 47.98 kB / 1.566 GB, free: 10.04 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001001/0.8138, allocations: 0.5068 MB / 1.567 GB, free: 9.539 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.8138, allocations: 0 / 1.567 GB, free: 9.539 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001607/0.8154, allocations: 368 kB / 1.567 GB, free: 9.18 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.0006034/0.816, allocations: 222.9 kB / 1.568 GB, free: 8.953 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.818, allocations: 0.8121 MB / 1.568 GB, free: 8.141 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.818, allocations: 4 kB / 1.568 GB, free: 8.137 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.8192, allocations: 0.658 MB / 1.569 GB, free: 7.453 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/0.8227, allocations: 0.7402 MB / 1.57 GB, free: 6.734 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/0.828, allocations: 2.771 MB / 1.572 GB, free: 3.812 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009548/0.829, allocations: 0.6641 MB / 1.573 GB, free: 3.113 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001323/0.8303, allocations: 301 kB / 1.573 GB, free: 2.816 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.8306, allocations: 83.44 kB / 1.573 GB, free: 2.734 MB / 1.264 GB Notification: Performance of SimCode: time 1.011e-06/0.8306, allocations: 3.938 kB / 1.573 GB, free: 2.73 MB / 1.264 GB Notification: Performance of Templates: time 0.04999/0.8806, allocations: 27.27 MB / 1.6 GB, free: 8.059 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 cvode -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: 11.834470158035401]