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.001415/0.001415, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.001486/0.001486, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 8.973 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 3.424/3.424, allocations: 0.4899 GB / 0.7915 GB, free: 33.37 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [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.002086/0.002086, allocations: 72.47 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5048, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.262/0.7668, allocations: 174.3 MB / 1.491 GB, free: 3.902 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007392/0.7742, allocations: 3.395 MB / 1.495 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.7755, allocations: 35.69 kB / 1.495 GB, free: 480 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.7766, allocations: 330.1 kB / 1.495 GB, free: 148 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.78, allocations: 1.05 MB / 1.496 GB, free: 15.09 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.7821, allocations: 0.6758 MB / 1.497 GB, free: 14.42 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002659/0.7848, allocations: 1.525 MB / 1.498 GB, free: 12.88 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008957/0.7857, allocations: 413.5 kB / 1.499 GB, free: 12.48 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.7876, allocations: 0.7434 MB / 1.499 GB, free: 11.73 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.7893, allocations: 494.1 kB / 1.5 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.7895, allocations: 56 kB / 1.5 GB, free: 11.2 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.7917, allocations: 0.8729 MB / 1.501 GB, free: 10.32 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.7921, allocations: 239.3 kB / 1.501 GB, free: 10.09 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007192/0.7928, allocations: 338.5 kB / 1.501 GB, free: 9.754 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.7955, allocations: 1.137 MB / 1.502 GB, free: 8.613 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7955, allocations: 0 / 1.502 GB, free: 8.613 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7955, allocations: 0 / 1.502 GB, free: 8.613 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.237e-05/0.7955, allocations: 4 kB / 1.502 GB, free: 8.609 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.002405/0.7979, allocations: 0.9358 MB / 1.503 GB, free: 7.621 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.798, allocations: 15.98 kB / 1.503 GB, free: 7.605 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.7994, allocations: 175.5 kB / 1.504 GB, free: 7.434 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.8006, allocations: 0.529 MB / 1.504 GB, free: 6.867 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.8006, allocations: 33 kB / 1.504 GB, free: 6.836 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.8007, allocations: 44 kB / 1.504 GB, free: 6.793 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/0.8017, allocations: 474.4 kB / 1.505 GB, free: 6.324 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.8017, allocations: 0 / 1.505 GB, free: 6.324 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.8017, allocations: 19.94 kB / 1.505 GB, free: 6.305 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.8018, allocations: 13 kB / 1.505 GB, free: 6.293 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.8026, allocations: 415.7 kB / 1.505 GB, free: 5.887 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.8058, allocations: 1.811 MB / 1.507 GB, free: 3.926 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.8064, allocations: 282.5 kB / 1.507 GB, free: 3.641 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.8067, allocations: 168.8 kB / 1.507 GB, free: 3.473 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.8069, allocations: 105.1 kB / 1.507 GB, free: 3.352 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.8069, allocations: 42.5 kB / 1.507 GB, free: 3.301 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.8069, allocations: 4 kB / 1.507 GB, free: 3.297 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.002429/0.8094, allocations: 1.065 MB / 1.508 GB, free: 2.18 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.8094, allocations: 55.41 kB / 1.508 GB, free: 2.113 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006961/0.8101, allocations: 449.9 kB / 1.509 GB, free: 1.66 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.8102, allocations: 37.64 kB / 1.509 GB, free: 1.617 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.8104, allocations: 260.4 kB / 1.509 GB, free: 1.359 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.8106, allocations: 126.9 kB / 1.509 GB, free: 1.234 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.8108, allocations: 65.7 kB / 1.509 GB, free: 1.164 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.811, allocations: 358.8 kB / 1.51 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.8112, allocations: 135.6 kB / 1.51 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.8115, allocations: 193.7 kB / 1.51 GB, free: 472 kB / 1.201 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.002248/0.8138, allocations: 0.8618 MB / 1.511 GB, free: 15.56 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8138, allocations: 4 kB / 1.511 GB, free: 15.56 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008062/0.8146, allocations: 420.8 kB / 1.511 GB, free: 15.14 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.8146, allocations: 8 kB / 1.511 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.8146, allocations: 3.938 kB / 1.511 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.8147, allocations: 4 kB / 1.511 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.815, allocations: 67.91 kB / 1.511 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.815, allocations: 7.984 kB / 1.511 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.8155, allocations: 16.19 kB / 1.511 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.8156, allocations: 12 kB / 1.511 GB, free: 15.02 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.0003523/0.8159, allocations: 215.3 kB / 1.512 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.816, allocations: 55.61 kB / 1.512 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.8162, allocations: 60.77 kB / 1.512 GB, free: 14.69 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.8162, allocations: 4 kB / 1.512 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.8162, allocations: 0 / 1.512 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00059/0.8168, allocations: 408.5 kB / 1.512 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.8191, allocations: 1.247 MB / 1.513 GB, free: 12.9 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.8191, allocations: 4 kB / 1.513 GB, free: 12.9 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.8195, allocations: 71.91 kB / 1.513 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.8195, allocations: 4 kB / 1.513 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.8195, allocations: 16.48 kB / 1.513 GB, free: 12.81 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.8195, allocations: 12 kB / 1.513 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.8195, allocations: 7.938 kB / 1.513 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.8207, allocations: 0.7035 MB / 1.514 GB, free: 12.02 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.821, allocations: 168.7 kB / 1.514 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.8211, allocations: 15.98 kB / 1.514 GB, free: 11.82 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.8216, allocations: 18.19 kB / 1.514 GB, free: 11.8 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.8217, allocations: 47.8 kB / 1.514 GB, free: 11.76 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.8218, allocations: 19.98 kB / 1.514 GB, free: 11.74 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005907/0.8224, allocations: 331.1 kB / 1.515 GB, free: 11.42 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.8224, allocations: 0 / 1.515 GB, free: 11.42 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008291/0.8232, allocations: 140 kB / 1.515 GB, free: 11.28 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.0005006/0.8237, allocations: 159 kB / 1.515 GB, free: 11.12 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007869/0.8245, allocations: 303.9 kB / 1.515 GB, free: 10.82 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.8245, allocations: 4.312 kB / 1.515 GB, free: 10.82 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.8248, allocations: 159.7 kB / 1.515 GB, free: 10.66 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.8269, allocations: 377.9 kB / 1.516 GB, free: 10.3 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.8297, allocations: 1.129 MB / 1.517 GB, free: 9.09 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008172/0.8305, allocations: 0.8862 MB / 1.518 GB, free: 8.176 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005916/0.8311, allocations: 136.7 kB / 1.518 GB, free: 8.043 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.8313, allocations: 47.42 kB / 1.518 GB, free: 7.996 MB / 1.217 GB Notification: Performance of SimCode: time 1.523e-06/0.8313, allocations: 0 / 1.518 GB, free: 7.996 MB / 1.217 GB Notification: Performance of Templates: time 0.02483/0.8561, allocations: 11.25 MB / 1.529 GB, free: 12.91 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 400] 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/jenkins/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: 10.44654507515952]