Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.00142/0.00142, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001519/0.001519, allocations: 212.2 kB / 23.04 MB, free: 5.074 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.321/1.321, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 179] 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 2.824/2.824, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",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.001866/0.001866, allocations: 61.28 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.289, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1883/0.4772, allocations: 174.5 MB / 1.497 GB, free: 2.797 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005337/0.4826, allocations: 3.41 MB / 1.5 GB, free: 15.38 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004283/0.483, allocations: 27.75 kB / 1.5 GB, free: 15.35 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008125/0.4838, allocations: 330.1 kB / 1.501 GB, free: 15.03 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.486, allocations: 1.066 MB / 1.502 GB, free: 13.96 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.4875, allocations: 0.6917 MB / 1.502 GB, free: 13.27 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001786/0.4893, allocations: 1.587 MB / 1.504 GB, free: 11.67 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.4898, allocations: 374 kB / 1.504 GB, free: 11.3 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.4909, allocations: 0.7434 MB / 1.505 GB, free: 10.55 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009828/0.4919, allocations: 0.4897 MB / 1.506 GB, free: 10.07 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.691e-05/0.492, allocations: 52 kB / 1.506 GB, free: 10.02 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.4934, allocations: 0.8885 MB / 1.506 GB, free: 9.125 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.4937, allocations: 247.3 kB / 1.507 GB, free: 8.883 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.494, allocations: 334.5 kB / 1.507 GB, free: 8.555 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.4955, allocations: 1.145 MB / 1.508 GB, free: 7.406 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4955, allocations: 0 / 1.508 GB, free: 7.406 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4955, allocations: 0 / 1.508 GB, free: 7.406 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.4955, allocations: 4 kB / 1.508 GB, free: 7.402 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001459/0.4969, allocations: 0.8548 MB / 1.509 GB, free: 6.516 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.497, allocations: 8.031 kB / 1.509 GB, free: 6.508 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.29e-05/0.497, allocations: 13 kB / 1.509 GB, free: 6.496 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.4971, allocations: 90.52 kB / 1.509 GB, free: 6.398 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.4983, allocations: 175.5 kB / 1.509 GB, free: 6.227 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008723/0.4991, allocations: 474.4 kB / 1.51 GB, free: 5.738 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.4992, allocations: 33 kB / 1.51 GB, free: 5.703 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.4992, allocations: 44 kB / 1.51 GB, free: 5.66 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/0.5, allocations: 470.4 kB / 1.51 GB, free: 5.195 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5, allocations: 0 / 1.51 GB, free: 5.195 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.5001, allocations: 20 kB / 1.51 GB, free: 5.176 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.5001, allocations: 17 kB / 1.51 GB, free: 5.16 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.5008, allocations: 411.7 kB / 1.511 GB, free: 4.754 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.5035, allocations: 1.771 MB / 1.512 GB, free: 2.84 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.504, allocations: 290.5 kB / 1.513 GB, free: 2.547 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.5042, allocations: 176.7 kB / 1.513 GB, free: 2.371 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.5044, allocations: 12 kB / 1.513 GB, free: 2.359 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.5044, allocations: 46.55 kB / 1.513 GB, free: 2.305 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.5044, allocations: 0 / 1.513 GB, free: 2.305 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.00194/0.5063, allocations: 0.9883 MB / 1.514 GB, free: 1.281 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.5064, allocations: 51.41 kB / 1.514 GB, free: 1.219 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.5069, allocations: 465.9 kB / 1.514 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.5069, allocations: 33.7 kB / 1.514 GB, free: 0.7227 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.5071, allocations: 252.5 kB / 1.515 GB, free: 480 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.5072, allocations: 118.9 kB / 1.515 GB, free: 360 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.5074, allocations: 65.7 kB / 1.515 GB, free: 288 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5075, allocations: 358.8 kB / 1.515 GB, free: 15.92 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.5077, allocations: 143.6 kB / 1.515 GB, free: 15.78 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.508, allocations: 201.7 kB / 1.515 GB, free: 15.56 MB / 1.217 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.5099, allocations: 0.7911 MB / 1.516 GB, free: 14.75 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.5099, allocations: 3.938 kB / 1.516 GB, free: 14.75 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006172/0.5105, allocations: 412.9 kB / 1.517 GB, free: 14.34 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5105, allocations: 5.406 kB / 1.517 GB, free: 14.33 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5105, allocations: 4 kB / 1.517 GB, free: 14.33 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5106, allocations: 4 kB / 1.517 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.5109, allocations: 76.09 kB / 1.517 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5109, allocations: 0 / 1.517 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.5112, allocations: 12 kB / 1.517 GB, free: 14.24 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.5112, allocations: 12 kB / 1.517 GB, free: 14.23 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002623/0.5115, allocations: 225.5 kB / 1.517 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.5116, allocations: 51.67 kB / 1.517 GB, free: 13.95 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.5117, allocations: 56.77 kB / 1.517 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5117, allocations: 4 kB / 1.517 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5117, allocations: 0 / 1.517 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005086/0.5122, allocations: 412.3 kB / 1.517 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.5141, allocations: 1.209 MB / 1.519 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5141, allocations: 4 kB / 1.519 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.5144, allocations: 72.41 kB / 1.519 GB, free: 12.07 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/0.5144, allocations: 11.98 kB / 1.519 GB, free: 12.06 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.5144, allocations: 16 kB / 1.519 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.5144, allocations: 4 kB / 1.519 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.5144, allocations: 7.938 kB / 1.519 GB, free: 12.03 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/0.5153, allocations: 0.7074 MB / 1.519 GB, free: 11.26 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.5155, allocations: 95.62 kB / 1.52 GB, free: 11.16 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.5156, allocations: 12 kB / 1.52 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.516, allocations: 17.67 kB / 1.52 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.516, allocations: 35.91 kB / 1.52 GB, free: 11.1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.5161, allocations: 27.98 kB / 1.52 GB, free: 11.07 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003698/0.5164, allocations: 331.1 kB / 1.52 GB, free: 10.75 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5164, allocations: 0 / 1.52 GB, free: 10.75 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005095/0.5169, allocations: 136 kB / 1.52 GB, free: 10.62 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.001334/0.5183, allocations: 1.308 MB / 1.521 GB, free: 9.238 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000523/0.5188, allocations: 311.9 kB / 1.522 GB, free: 8.934 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5188, allocations: 4 kB / 1.522 GB, free: 8.93 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.519, allocations: 153 kB / 1.522 GB, free: 8.781 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.5207, allocations: 370.9 kB / 1.522 GB, free: 8.426 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005437/0.5261, allocations: 4.419 MB / 1.526 GB, free: 3.789 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.5266, allocations: 0.8862 MB / 1.527 GB, free: 2.875 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003918/0.527, allocations: 128.7 kB / 1.527 GB, free: 2.75 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.5272, allocations: 171.4 kB / 1.528 GB, free: 2.582 MB / 1.217 GB Notification: Performance of SimCode: time 3.21e-07/0.5272, allocations: 0 / 1.528 GB, free: 2.582 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/0.5703, allocations: 15.91 MB / 1.543 GB, free: 3.004 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.56, allocations: 6.406 kB / 1.543 GB, free: 3 MB / 1.232 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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: 17.54272556101205]