Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0018/0.0018, 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.002152/0.002152, allocations: 215 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.38/3.38, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002099/0.002099, allocations: 73.22 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4155, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2464/0.6619, allocations: 185.9 MB / 1.546 GB, free: 2.934 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.6786, allocations: 9.287 MB / 1.555 GB, free: 9.633 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.681, allocations: 87.31 kB / 1.555 GB, free: 9.547 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.6839, allocations: 0.7492 MB / 1.556 GB, free: 8.793 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.6945, allocations: 2.929 MB / 1.559 GB, free: 5.852 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004285/0.6988, allocations: 1.417 MB / 1.56 GB, free: 4.441 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.006383/0.7052, allocations: 4.138 MB / 1.564 GB, free: 292 kB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.7072, allocations: 0.9818 MB / 1.565 GB, free: 15.27 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004543/0.7117, allocations: 1.88 MB / 1.567 GB, free: 13.38 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003274/0.715, allocations: 1.257 MB / 1.568 GB, free: 12.13 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.7153, allocations: 144 kB / 1.569 GB, free: 11.99 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.7202, allocations: 1.948 MB / 1.57 GB, free: 10.04 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008257/0.721, allocations: 0.631 MB / 1.571 GB, free: 9.406 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.7223, allocations: 0.7119 MB / 1.572 GB, free: 8.691 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005435/0.7277, allocations: 2.963 MB / 1.575 GB, free: 5.719 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7277, allocations: 0 / 1.575 GB, free: 5.719 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7277, allocations: 0 / 1.575 GB, free: 5.719 MB / 1.264 GB Notification: Performance of Transformations before backend: time 3.06e-05/0.7278, allocations: 0 / 1.575 GB, free: 5.719 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.003388/0.7311, allocations: 1.873 MB / 1.576 GB, free: 3.805 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7312, allocations: 8.031 kB / 1.576 GB, free: 3.797 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/0.7343, allocations: 494.5 kB / 1.577 GB, free: 3.312 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.7366, allocations: 1.057 MB / 1.578 GB, free: 2.219 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.7367, allocations: 82.14 kB / 1.578 GB, free: 2.137 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.7369, allocations: 108 kB / 1.578 GB, free: 2.031 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.7392, allocations: 1.613 MB / 1.58 GB, free: 284 kB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.7392, allocations: 3.938 kB / 1.58 GB, free: 280 kB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.7393, allocations: 55.92 kB / 1.58 GB, free: 224 kB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.507e-05/0.7394, allocations: 38.14 kB / 1.58 GB, free: 184 kB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.7412, allocations: 1.066 MB / 1.581 GB, free: 15.11 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005488/0.7467, allocations: 2.697 MB / 1.584 GB, free: 12.36 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.7479, allocations: 0.7551 MB / 1.584 GB, free: 11.6 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/0.7486, allocations: 454.8 kB / 1.585 GB, free: 11.16 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.7488, allocations: 72.89 kB / 1.585 GB, free: 11.08 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.7489, allocations: 43.56 kB / 1.585 GB, free: 11.03 MB / 1.279 GB Notification: Performance of pre-optimization done (n=83): time 2.635e-06/0.7489, allocations: 0 / 1.585 GB, free: 11.03 MB / 1.279 GB Notification: Performance of matching and sorting (n=89): time 0.005569/0.7545, allocations: 2.613 MB / 1.587 GB, free: 8.391 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.7545, allocations: 72.33 kB / 1.587 GB, free: 8.305 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/0.7555, allocations: 0.7397 MB / 1.588 GB, free: 7.559 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.525e-05/0.7556, allocations: 49.7 kB / 1.588 GB, free: 7.504 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.7561, allocations: 0.5593 MB / 1.589 GB, free: 6.938 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.7564, allocations: 333.1 kB / 1.589 GB, free: 6.609 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.7566, allocations: 158.6 kB / 1.589 GB, free: 6.449 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.7568, allocations: 337.9 kB / 1.59 GB, free: 6.113 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/0.7573, allocations: 337.8 kB / 1.59 GB, free: 5.785 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/0.7581, allocations: 0.5828 MB / 1.59 GB, free: 5.137 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.006004/0.7641, allocations: 2.813 MB / 1.593 GB, free: 2.297 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.7641, allocations: 0 / 1.593 GB, free: 2.297 MB / 1.279 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001651/0.7657, allocations: 0.9965 MB / 1.594 GB, free: 1.289 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.7658, allocations: 15.92 kB / 1.594 GB, free: 1.273 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.7658, allocations: 4 kB / 1.594 GB, free: 1.27 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.7658, allocations: 4 kB / 1.594 GB, free: 1.266 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.7665, allocations: 179.8 kB / 1.594 GB, free: 1.09 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.7665, allocations: 12.31 kB / 1.594 GB, free: 1.078 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009072/0.7674, allocations: 31.98 kB / 1.594 GB, free: 1.047 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/0.7675, allocations: 35.98 kB / 1.594 GB, free: 1.012 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.0006668/0.7682, allocations: 377.5 kB / 1.595 GB, free: 0.6328 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.7684, allocations: 119.3 kB / 1.595 GB, free: 0.5156 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.7686, allocations: 138.4 kB / 1.595 GB, free: 380 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.7686, allocations: 8 kB / 1.595 GB, free: 372 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.7687, allocations: 0 / 1.595 GB, free: 372 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001639/0.7703, allocations: 1.09 MB / 1.596 GB, free: 15.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/0.775, allocations: 2.685 MB / 1.599 GB, free: 12.36 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.7751, allocations: 8 kB / 1.599 GB, free: 12.35 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/0.7758, allocations: 175.6 kB / 1.599 GB, free: 12.18 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.7762, allocations: 93.66 kB / 1.599 GB, free: 12.08 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/0.7762, allocations: 31.98 kB / 1.599 GB, free: 12.05 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/0.7789, allocations: 2.822 MB / 1.602 GB, free: 9.023 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/0.779, allocations: 15.92 kB / 1.602 GB, free: 9.008 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.7815, allocations: 1.721 MB / 1.603 GB, free: 7.148 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/0.7821, allocations: 211.2 kB / 1.604 GB, free: 6.941 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.7822, allocations: 31.98 kB / 1.604 GB, free: 6.91 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008538/0.7831, allocations: 41.23 kB / 1.604 GB, free: 6.871 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.7832, allocations: 92.06 kB / 1.604 GB, free: 6.781 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/0.7833, allocations: 47.98 kB / 1.604 GB, free: 6.734 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007137/0.784, allocations: 0.5107 MB / 1.604 GB, free: 6.23 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.784, allocations: 4 kB / 1.604 GB, free: 6.227 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001139/0.7851, allocations: 364 kB / 1.605 GB, free: 5.871 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.000419/0.7856, allocations: 225.7 kB / 1.605 GB, free: 5.645 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.787, allocations: 0.8129 MB / 1.606 GB, free: 4.828 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.787, allocations: 0 / 1.606 GB, free: 4.828 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.788, allocations: 0.6617 MB / 1.606 GB, free: 4.141 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/0.7912, allocations: 0.733 MB / 1.607 GB, free: 3.426 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/0.7956, allocations: 2.828 MB / 1.61 GB, free: 448 kB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7425/1.538, allocations: 0.6535 MB / 1.61 GB, free: 244.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/1.539, allocations: 94.91 kB / 1.611 GB, free: 244.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.193e-06/1.539, allocations: 0 / 1.611 GB, free: 244.4 MB / 1.295 GB Notification: Performance of Templates: time 0.04648/1.585, allocations: 25.43 MB / 1.635 GB, free: 238.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.721791208256036]