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.001243/0.001243, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001372/0.001372, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.413/1.413, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.898/2.898, allocations: 0.49 GB / 0.7923 GB, free: 1.301 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: "" <> 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.002138/0.002138, allocations: 67.91 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8891/0.8912, allocations: 176.1 MB / 1.321 GB, free: 24.87 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1988/1.09, allocations: 174.3 MB / 1.492 GB, free: 8.035 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005816/1.096, allocations: 3.39 MB / 1.495 GB, free: 5.293 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008241/1.097, allocations: 29.91 kB / 1.495 GB, free: 5.277 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/1.098, allocations: 331.3 kB / 1.495 GB, free: 5.012 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/1.1, allocations: 1.054 MB / 1.496 GB, free: 4.199 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/1.102, allocations: 0.6728 MB / 1.497 GB, free: 3.691 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00213/1.104, allocations: 1.536 MB / 1.499 GB, free: 2.797 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006349/1.105, allocations: 405.7 kB / 1.499 GB, free: 2.543 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/1.106, allocations: 0.7351 MB / 1.5 GB, free: 2.105 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/1.108, allocations: 499.3 kB / 1.5 GB, free: 1.816 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/1.108, allocations: 53.97 kB / 1.5 GB, free: 1.816 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/1.11, allocations: 0.8777 MB / 1.501 GB, free: 1.332 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003405/1.11, allocations: 245.2 kB / 1.501 GB, free: 1.168 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004749/1.111, allocations: 336 kB / 1.502 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/1.113, allocations: 1.144 MB / 1.503 GB, free: 15.83 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.113, allocations: 0 / 1.503 GB, free: 15.83 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.292e-06/1.113, allocations: 4 kB / 1.503 GB, free: 15.83 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.835e-05/1.113, allocations: 3.938 kB / 1.503 GB, free: 15.82 MB / 1.186 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.001567/1.114, allocations: 0.9301 MB / 1.504 GB, free: 14.84 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.114, allocations: 11.98 kB / 1.504 GB, free: 14.83 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.405e-05/1.114, allocations: 13 kB / 1.504 GB, free: 14.82 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.795e-05/1.114, allocations: 82.52 kB / 1.504 GB, free: 14.73 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.116, allocations: 183.5 kB / 1.504 GB, free: 14.55 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008772/1.116, allocations: 0.5328 MB / 1.504 GB, free: 13.98 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/1.117, allocations: 29 kB / 1.504 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/1.117, allocations: 44 kB / 1.504 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008675/1.117, allocations: 474.4 kB / 1.505 GB, free: 13.43 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.117, allocations: 0 / 1.505 GB, free: 13.43 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/1.118, allocations: 20 kB / 1.505 GB, free: 13.41 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/1.118, allocations: 17 kB / 1.505 GB, free: 13.4 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/1.118, allocations: 419.7 kB / 1.505 GB, free: 12.99 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/1.121, allocations: 1.804 MB / 1.507 GB, free: 11.04 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/1.121, allocations: 286.5 kB / 1.507 GB, free: 10.75 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/1.122, allocations: 179.3 kB / 1.508 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/1.122, allocations: 93.09 kB / 1.508 GB, free: 10.46 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/1.122, allocations: 38.56 kB / 1.508 GB, free: 10.41 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 1.724e-06/1.122, allocations: 0 / 1.508 GB, free: 10.41 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.002105/1.124, allocations: 1.066 MB / 1.509 GB, free: 9.297 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/1.124, allocations: 55.41 kB / 1.509 GB, free: 9.23 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/1.125, allocations: 453.9 kB / 1.509 GB, free: 8.777 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/1.125, allocations: 33.7 kB / 1.509 GB, free: 8.738 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.125, allocations: 256.4 kB / 1.509 GB, free: 8.484 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/1.125, allocations: 123 kB / 1.51 GB, free: 8.363 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/1.125, allocations: 73.66 kB / 1.51 GB, free: 8.285 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.125, allocations: 366.7 kB / 1.51 GB, free: 7.918 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/1.125, allocations: 123.9 kB / 1.51 GB, free: 7.797 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/1.126, allocations: 193.7 kB / 1.51 GB, free: 7.586 MB / 1.186 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.001976/1.128, allocations: 0.8605 MB / 1.511 GB, free: 6.688 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.128, allocations: 7.875 kB / 1.511 GB, free: 6.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006379/1.128, allocations: 421 kB / 1.512 GB, free: 6.262 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.128, allocations: 4 kB / 1.512 GB, free: 6.258 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.128, allocations: 0 / 1.512 GB, free: 6.258 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.128, allocations: 4 kB / 1.512 GB, free: 6.254 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/1.129, allocations: 71.91 kB / 1.512 GB, free: 6.184 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.129, allocations: 4 kB / 1.512 GB, free: 6.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/1.129, allocations: 15.92 kB / 1.512 GB, free: 6.164 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/1.129, allocations: 20.12 kB / 1.512 GB, free: 6.145 MB / 1.186 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.0002639/1.129, allocations: 217.9 kB / 1.512 GB, free: 5.922 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/1.13, allocations: 55.67 kB / 1.512 GB, free: 5.867 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/1.13, allocations: 56.77 kB / 1.512 GB, free: 5.809 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.13, allocations: 4 kB / 1.512 GB, free: 5.805 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.13, allocations: 0 / 1.512 GB, free: 5.805 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005129/1.13, allocations: 412.5 kB / 1.512 GB, free: 5.371 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/1.132, allocations: 1.243 MB / 1.514 GB, free: 4.023 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/1.132, allocations: 4 kB / 1.514 GB, free: 4.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/1.132, allocations: 71.91 kB / 1.514 GB, free: 3.949 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.132, allocations: 8 kB / 1.514 GB, free: 3.941 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/1.132, allocations: 11.98 kB / 1.514 GB, free: 3.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/1.132, allocations: 8.5 kB / 1.514 GB, free: 3.922 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.132, allocations: 7.938 kB / 1.514 GB, free: 3.914 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/1.133, allocations: 0.7074 MB / 1.514 GB, free: 3.141 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/1.134, allocations: 168.7 kB / 1.515 GB, free: 2.957 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/1.134, allocations: 15.98 kB / 1.515 GB, free: 2.941 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/1.134, allocations: 12 kB / 1.515 GB, free: 2.93 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/1.134, allocations: 31.84 kB / 1.515 GB, free: 2.898 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/1.134, allocations: 24.05 kB / 1.515 GB, free: 2.875 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003787/1.135, allocations: 331.1 kB / 1.515 GB, free: 2.551 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.135, allocations: 3.938 kB / 1.515 GB, free: 2.547 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005571/1.135, allocations: 144 kB / 1.515 GB, free: 2.406 MB / 1.186 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.001356/1.136, allocations: 1.307 MB / 1.516 GB, free: 1.023 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005684/1.137, allocations: 308.4 kB / 1.517 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.137, allocations: 384 / 1.517 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/1.137, allocations: 162.2 kB / 1.517 GB, free: 0.5664 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.139, allocations: 362.3 kB / 1.517 GB, free: 224 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/1.144, allocations: 4.421 MB / 1.522 GB, free: 11.58 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/1.145, allocations: 0.8823 MB / 1.522 GB, free: 10.67 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000462/1.145, allocations: 140.7 kB / 1.523 GB, free: 10.53 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/1.146, allocations: 167.4 kB / 1.523 GB, free: 10.37 MB / 1.201 GB Notification: Performance of SimCode: time 8.11e-07/1.146, allocations: 0 / 1.523 GB, free: 10.37 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/1.184, allocations: 15.59 MB / 1.538 GB, free: 11.09 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.847/10.03, allocations: 21.77 kB / 1.538 GB, free: 11.07 MB / 1.217 GB " [Timeout remaining time 290] (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: 16.247915431973524]