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.001593/0.001593, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001851/0.001851, allocations: 211 kB / 22.24 MB, free: 5.262 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.809 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.457/3.457, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002021/0.002021, allocations: 67.92 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4076, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2622/0.6698, allocations: 185.9 MB / 1.545 GB, free: 2.961 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.6864, allocations: 9.287 MB / 1.555 GB, free: 9.656 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/0.6888, allocations: 79.31 kB / 1.555 GB, free: 9.578 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.6908, allocations: 0.7493 MB / 1.555 GB, free: 8.824 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.007985/0.6988, allocations: 2.928 MB / 1.558 GB, free: 5.887 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.7025, allocations: 1.413 MB / 1.56 GB, free: 4.48 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005839/0.7084, allocations: 4.152 MB / 1.564 GB, free: 320 kB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.7101, allocations: 0.9857 MB / 1.565 GB, free: 15.29 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004067/0.7141, allocations: 1.88 MB / 1.566 GB, free: 13.41 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.7171, allocations: 1.248 MB / 1.568 GB, free: 12.16 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.7173, allocations: 144 kB / 1.568 GB, free: 12.02 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004727/0.722, allocations: 1.948 MB / 1.57 GB, free: 10.07 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0007848/0.7228, allocations: 0.6271 MB / 1.57 GB, free: 9.438 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.7239, allocations: 0.7158 MB / 1.571 GB, free: 8.719 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.00548/0.7294, allocations: 2.955 MB / 1.574 GB, free: 5.754 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.7294, allocations: 0 / 1.574 GB, free: 5.754 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7294, allocations: 0 / 1.574 GB, free: 5.754 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.118e-05/0.7294, allocations: 0 / 1.574 GB, free: 5.754 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.003241/0.7326, allocations: 1.877 MB / 1.576 GB, free: 3.836 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.7327, allocations: 8.031 kB / 1.576 GB, free: 3.828 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.7356, allocations: 498.5 kB / 1.576 GB, free: 3.34 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.738, allocations: 1.053 MB / 1.577 GB, free: 2.25 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/0.7381, allocations: 78.14 kB / 1.577 GB, free: 2.172 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.7382, allocations: 112 kB / 1.577 GB, free: 2.062 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.7406, allocations: 1.61 MB / 1.579 GB, free: 320 kB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.7407, allocations: 7.875 kB / 1.579 GB, free: 312 kB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.7408, allocations: 44 kB / 1.579 GB, free: 268 kB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/0.7408, allocations: 50.06 kB / 1.579 GB, free: 216 kB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.7427, allocations: 1.062 MB / 1.58 GB, free: 15.14 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005478/0.7482, allocations: 2.701 MB / 1.583 GB, free: 12.39 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.7495, allocations: 0.759 MB / 1.583 GB, free: 11.63 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/0.7502, allocations: 458.8 kB / 1.584 GB, free: 11.18 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.7505, allocations: 64.91 kB / 1.584 GB, free: 11.11 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.7505, allocations: 47.56 kB / 1.584 GB, free: 11.06 MB / 1.279 GB Notification: Performance of pre-optimization done (n=83): time 3.086e-06/0.7505, allocations: 0 / 1.584 GB, free: 11.06 MB / 1.279 GB Notification: Performance of matching and sorting (n=89): time 0.005926/0.7565, allocations: 2.613 MB / 1.587 GB, free: 8.418 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.7565, allocations: 60.41 kB / 1.587 GB, free: 8.344 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.7576, allocations: 0.7514 MB / 1.587 GB, free: 7.586 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.303e-05/0.7576, allocations: 45.7 kB / 1.587 GB, free: 7.535 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/0.7581, allocations: 0.5632 MB / 1.588 GB, free: 6.965 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/0.7585, allocations: 333.1 kB / 1.588 GB, free: 6.637 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.7587, allocations: 154.6 kB / 1.588 GB, free: 6.48 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.7589, allocations: 337.9 kB / 1.589 GB, free: 6.145 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/0.7594, allocations: 345.8 kB / 1.589 GB, free: 5.809 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007814/0.7602, allocations: 0.575 MB / 1.59 GB, free: 5.168 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.00618/0.7664, allocations: 2.815 MB / 1.592 GB, free: 2.324 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7664, allocations: 4 kB / 1.592 GB, free: 2.32 MB / 1.279 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001804/0.7682, allocations: 0.9887 MB / 1.593 GB, free: 1.32 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.7682, allocations: 19.81 kB / 1.593 GB, free: 1.301 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7683, allocations: 4 kB / 1.593 GB, free: 1.297 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.7683, allocations: 8 kB / 1.593 GB, free: 1.289 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.769, allocations: 176.2 kB / 1.594 GB, free: 1.117 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.769, allocations: 19.92 kB / 1.594 GB, free: 1.098 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009405/0.77, allocations: 27.95 kB / 1.594 GB, free: 1.07 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/0.77, allocations: 35.98 kB / 1.594 GB, free: 1.035 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.0007282/0.7708, allocations: 373.5 kB / 1.594 GB, free: 0.6602 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.771, allocations: 115.3 kB / 1.594 GB, free: 0.5469 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.7712, allocations: 130.4 kB / 1.594 GB, free: 420 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.7712, allocations: 8 kB / 1.594 GB, free: 412 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/0.7713, allocations: 3.984 kB / 1.594 GB, free: 408 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001958/0.7732, allocations: 1.09 MB / 1.595 GB, free: 15.24 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/0.7783, allocations: 2.685 MB / 1.598 GB, free: 12.39 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.7783, allocations: 8 kB / 1.598 GB, free: 12.39 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.7791, allocations: 171.7 kB / 1.598 GB, free: 12.22 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003707/0.7794, allocations: 98.09 kB / 1.598 GB, free: 12.12 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.7795, allocations: 35.98 kB / 1.598 GB, free: 12.08 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.7823, allocations: 2.822 MB / 1.601 GB, free: 9.055 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.481e-05/0.7823, allocations: 15.94 kB / 1.601 GB, free: 9.039 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.7851, allocations: 1.721 MB / 1.603 GB, free: 7.18 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/0.7858, allocations: 211.2 kB / 1.603 GB, free: 6.973 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.7859, allocations: 31.98 kB / 1.603 GB, free: 6.941 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008884/0.7868, allocations: 41.3 kB / 1.603 GB, free: 6.902 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.7869, allocations: 92.06 kB / 1.603 GB, free: 6.812 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.391e-05/0.787, allocations: 47.98 kB / 1.603 GB, free: 6.766 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.000828/0.7879, allocations: 0.5146 MB / 1.604 GB, free: 6.258 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7879, allocations: 0 / 1.604 GB, free: 6.258 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001254/0.7891, allocations: 364 kB / 1.604 GB, free: 5.902 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.0004616/0.7896, allocations: 225.4 kB / 1.604 GB, free: 5.676 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.7911, allocations: 0.8085 MB / 1.605 GB, free: 4.863 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/0.7911, allocations: 4 kB / 1.605 GB, free: 4.859 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.7921, allocations: 0.6582 MB / 1.606 GB, free: 4.176 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/0.7952, allocations: 0.7411 MB / 1.606 GB, free: 3.457 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.7999, allocations: 2.763 MB / 1.609 GB, free: 0.5391 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7695/1.569, allocations: 0.6586 MB / 1.61 GB, free: 244.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002285/1.572, allocations: 301.9 kB / 1.61 GB, free: 244.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/1.572, allocations: 93.72 kB / 1.61 GB, free: 244.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.283e-06/1.572, allocations: 0 / 1.61 GB, free: 244.4 MB / 1.295 GB Notification: Performance of Templates: time 0.07293/1.645, allocations: 26.97 MB / 1.636 GB, free: 238.3 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/jenkins/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: 11.303107542917132]