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.001205/0.001205, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001325/0.001325, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.337/1.337, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] 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 2.974/2.974, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) [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.001974/0.001974, allocations: 65.58 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3111, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2163/0.5274, allocations: 185.9 MB / 1.545 GB, free: 3.426 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.5419, allocations: 9.294 MB / 1.554 GB, free: 10.12 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.5434, allocations: 79.31 kB / 1.554 GB, free: 10.04 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.5456, allocations: 0.7532 MB / 1.555 GB, free: 9.285 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.007392/0.553, allocations: 2.917 MB / 1.558 GB, free: 6.355 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.5564, allocations: 1.421 MB / 1.559 GB, free: 4.941 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00511/0.5616, allocations: 4.142 MB / 1.563 GB, free: 0.7812 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.5632, allocations: 0.9819 MB / 1.564 GB, free: 15.77 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.5667, allocations: 1.888 MB / 1.566 GB, free: 13.87 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.5694, allocations: 1.25 MB / 1.567 GB, free: 12.62 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.5697, allocations: 144 kB / 1.567 GB, free: 12.48 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003757/0.5735, allocations: 1.948 MB / 1.569 GB, free: 10.53 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0007287/0.5742, allocations: 0.6348 MB / 1.57 GB, free: 9.895 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.5753, allocations: 0.7158 MB / 1.571 GB, free: 9.176 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.5796, allocations: 2.947 MB / 1.573 GB, free: 6.219 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5796, allocations: 0 / 1.573 GB, free: 6.219 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5796, allocations: 0 / 1.573 GB, free: 6.219 MB / 1.264 GB Notification: Performance of Transformations before backend: time 5.341e-05/0.5796, allocations: 3.938 kB / 1.573 GB, free: 6.215 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.003299/0.5829, allocations: 1.869 MB / 1.575 GB, free: 4.305 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.583, allocations: 8.031 kB / 1.575 GB, free: 4.297 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000237/0.5832, allocations: 172.8 kB / 1.575 GB, free: 4.117 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.5861, allocations: 498.5 kB / 1.576 GB, free: 3.629 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.5882, allocations: 1.049 MB / 1.577 GB, free: 2.543 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.5883, allocations: 82.14 kB / 1.577 GB, free: 2.461 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.5885, allocations: 112 kB / 1.577 GB, free: 2.352 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.5906, allocations: 1.616 MB / 1.579 GB, free: 0.5938 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.5906, allocations: 4 kB / 1.579 GB, free: 0.5898 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.912e-05/0.5907, allocations: 43.94 kB / 1.579 GB, free: 0.5469 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-05/0.5908, allocations: 50.12 kB / 1.579 GB, free: 0.4961 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.5925, allocations: 1.062 MB / 1.58 GB, free: 15.43 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005503/0.598, allocations: 2.904 MB / 1.583 GB, free: 12.46 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.5993, allocations: 0.7627 MB / 1.583 GB, free: 11.69 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/0.5999, allocations: 454.8 kB / 1.584 GB, free: 11.25 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.6002, allocations: 56.97 kB / 1.584 GB, free: 11.19 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.992e-05/0.6003, allocations: 43.56 kB / 1.584 GB, free: 11.14 MB / 1.279 GB Notification: Performance of pre-optimization done (n=83): time 2.495e-06/0.6003, allocations: 0 / 1.584 GB, free: 11.14 MB / 1.279 GB Notification: Performance of matching and sorting (n=89): time 0.005535/0.6058, allocations: 2.644 MB / 1.587 GB, free: 8.465 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.6058, allocations: 60.41 kB / 1.587 GB, free: 8.391 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.6071, allocations: 0.9793 MB / 1.588 GB, free: 7.395 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.664e-05/0.6072, allocations: 53.7 kB / 1.588 GB, free: 7.336 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.6077, allocations: 0.5443 MB / 1.588 GB, free: 6.785 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.608, allocations: 329.1 kB / 1.588 GB, free: 6.461 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.6082, allocations: 158.6 kB / 1.589 GB, free: 6.301 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6084, allocations: 345.9 kB / 1.589 GB, free: 5.957 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.6089, allocations: 341.8 kB / 1.589 GB, free: 5.625 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007141/0.6096, allocations: 0.5827 MB / 1.59 GB, free: 4.977 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.005941/0.6155, allocations: 2.815 MB / 1.593 GB, free: 2.133 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6155, allocations: 4 kB / 1.593 GB, free: 2.129 MB / 1.279 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001776/0.6173, allocations: 1.02 MB / 1.594 GB, free: 1.098 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6173, allocations: 8 kB / 1.594 GB, free: 1.09 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6174, allocations: 0 / 1.594 GB, free: 1.09 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.6174, allocations: 8 kB / 1.594 GB, free: 1.082 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.6181, allocations: 188.1 kB / 1.594 GB, free: 0.8984 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.6181, allocations: 8 kB / 1.594 GB, free: 0.8906 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/0.6191, allocations: 27.98 kB / 1.594 GB, free: 0.8633 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.6192, allocations: 28 kB / 1.594 GB, free: 0.8359 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.0006667/0.6199, allocations: 381.5 kB / 1.594 GB, free: 464 kB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.6202, allocations: 135.1 kB / 1.594 GB, free: 328 kB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.6205, allocations: 148.3 kB / 1.594 GB, free: 176 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.6205, allocations: 8 kB / 1.594 GB, free: 168 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.6205, allocations: 0 / 1.594 GB, free: 168 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0016/0.6221, allocations: 1.098 MB / 1.596 GB, free: 15 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/0.6272, allocations: 2.809 MB / 1.598 GB, free: 12.02 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.6272, allocations: 8 kB / 1.598 GB, free: 12.01 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.6279, allocations: 163.7 kB / 1.598 GB, free: 11.85 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003406/0.6282, allocations: 94.22 kB / 1.599 GB, free: 11.75 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.6283, allocations: 39.98 kB / 1.599 GB, free: 11.71 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.6308, allocations: 2.863 MB / 1.601 GB, free: 8.621 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/0.6308, allocations: 15.94 kB / 1.601 GB, free: 8.605 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.6333, allocations: 1.746 MB / 1.603 GB, free: 6.723 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006629/0.6339, allocations: 239 kB / 1.603 GB, free: 6.488 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.6341, allocations: 39.86 kB / 1.603 GB, free: 6.449 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008876/0.635, allocations: 39.98 kB / 1.603 GB, free: 6.41 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.6351, allocations: 92.06 kB / 1.603 GB, free: 6.32 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/0.6352, allocations: 47.98 kB / 1.603 GB, free: 6.273 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.000935/0.6361, allocations: 0.6956 MB / 1.604 GB, free: 5.57 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6361, allocations: 0 / 1.604 GB, free: 5.57 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001016/0.6372, allocations: 368 kB / 1.605 GB, free: 5.211 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.002897/0.6401, allocations: 2.408 MB / 1.607 GB, free: 2.648 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.6414, allocations: 0.8013 MB / 1.608 GB, free: 1.848 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.6414, allocations: 8 kB / 1.608 GB, free: 1.84 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009102/0.6423, allocations: 0.6616 MB / 1.608 GB, free: 1.156 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/0.646, allocations: 0.9272 MB / 1.609 GB, free: 252 kB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5666/1.213, allocations: 9.709 MB / 1.619 GB, free: 242.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/1.213, allocations: 0.6587 MB / 1.619 GB, free: 242 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001124/1.214, allocations: 341.6 kB / 1.62 GB, free: 242 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/1.215, allocations: 473.6 kB / 1.62 GB, free: 241.7 MB / 1.295 GB Notification: Performance of SimCode: time 6.81e-07/1.215, allocations: 0 / 1.62 GB, free: 241.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07747/1.292, allocations: 42.48 MB / 1.662 GB, free: 222.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.86, allocations: 11.27 kB / 1.662 GB, free: 222.6 MB / 1.295 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 840.0] 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: 19.001653830055147]