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.001448/0.001448, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.0016/0.0016, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.904/2.904, allocations: 0.49 GB / 0.7958 GB, free: 33.37 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: 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.001899/0.001899, allocations: 67.5 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2922, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1872/0.4794, allocations: 174.5 MB / 1.498 GB, free: 2.312 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005454/0.4848, allocations: 3.409 MB / 1.501 GB, free: 14.89 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.4853, allocations: 31.75 kB / 1.501 GB, free: 14.86 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008581/0.4862, allocations: 334.1 kB / 1.501 GB, free: 14.54 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.4884, allocations: 1.07 MB / 1.502 GB, free: 13.46 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.49, allocations: 0.7007 MB / 1.503 GB, free: 12.77 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.4919, allocations: 1.578 MB / 1.504 GB, free: 11.18 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005257/0.4925, allocations: 382.5 kB / 1.505 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.4936, allocations: 0.7357 MB / 1.506 GB, free: 10.06 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.4947, allocations: 496.2 kB / 1.506 GB, free: 9.578 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.4948, allocations: 52 kB / 1.506 GB, free: 9.527 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.4962, allocations: 0.8924 MB / 1.507 GB, free: 8.633 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.4964, allocations: 247.3 kB / 1.507 GB, free: 8.391 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.4968, allocations: 334.5 kB / 1.508 GB, free: 8.062 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.4981, allocations: 1.137 MB / 1.509 GB, free: 6.922 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.4981, allocations: 7.984 kB / 1.509 GB, free: 6.914 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4981, allocations: 0 / 1.509 GB, free: 6.914 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.4982, allocations: 0 / 1.509 GB, free: 6.914 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.00131/0.4995, allocations: 0.8587 MB / 1.509 GB, free: 6.023 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.4995, allocations: 12.03 kB / 1.509 GB, free: 6.012 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.5006, allocations: 175.5 kB / 1.51 GB, free: 5.84 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.5014, allocations: 470.5 kB / 1.51 GB, free: 5.352 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.5014, allocations: 29 kB / 1.51 GB, free: 5.324 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.5015, allocations: 48 kB / 1.51 GB, free: 5.277 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.5022, allocations: 466.4 kB / 1.511 GB, free: 4.816 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5023, allocations: 3.938 kB / 1.511 GB, free: 4.812 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.5023, allocations: 24 kB / 1.511 GB, free: 4.789 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.5023, allocations: 17 kB / 1.511 GB, free: 4.77 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.503, allocations: 415.7 kB / 1.511 GB, free: 4.367 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.5055, allocations: 1.772 MB / 1.513 GB, free: 2.449 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.5059, allocations: 284.5 kB / 1.513 GB, free: 2.164 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.5062, allocations: 170.5 kB / 1.513 GB, free: 1.996 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.5063, allocations: 23.97 kB / 1.513 GB, free: 1.973 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.5063, allocations: 42.5 kB / 1.513 GB, free: 1.922 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 1.272e-06/0.5063, allocations: 0 / 1.513 GB, free: 1.922 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001809/0.5081, allocations: 0.9898 MB / 1.514 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.5082, allocations: 55.41 kB / 1.514 GB, free: 0.832 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.5086, allocations: 461.9 kB / 1.515 GB, free: 388 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.5087, allocations: 29.7 kB / 1.515 GB, free: 352 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.5089, allocations: 252.5 kB / 1.515 GB, free: 96 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.509, allocations: 127 kB / 1.515 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.5091, allocations: 69.69 kB / 1.515 GB, free: 15.89 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5093, allocations: 358.8 kB / 1.516 GB, free: 15.53 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.5095, allocations: 135.7 kB / 1.516 GB, free: 15.4 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.5097, allocations: 193.7 kB / 1.516 GB, free: 15.19 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.001837/0.5116, allocations: 0.7942 MB / 1.517 GB, free: 14.37 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5116, allocations: 0 / 1.517 GB, free: 14.37 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006161/0.5122, allocations: 420.9 kB / 1.517 GB, free: 13.95 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5122, allocations: 11.94 kB / 1.517 GB, free: 13.94 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5122, allocations: 0 / 1.517 GB, free: 13.94 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5122, allocations: 4 kB / 1.517 GB, free: 13.94 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.5125, allocations: 71.91 kB / 1.517 GB, free: 13.87 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.5125, allocations: 4 kB / 1.517 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.5129, allocations: 11.98 kB / 1.517 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.5129, allocations: 16 kB / 1.517 GB, free: 13.84 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.0003129/0.5132, allocations: 217.8 kB / 1.517 GB, free: 13.61 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/0.5133, allocations: 59.61 kB / 1.517 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.5134, allocations: 56.75 kB / 1.517 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5134, allocations: 4 kB / 1.517 GB, free: 13.49 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5134, allocations: 0 / 1.517 GB, free: 13.49 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005008/0.5139, allocations: 408.3 kB / 1.518 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.5157, allocations: 1.217 MB / 1.519 GB, free: 11.75 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5157, allocations: 4 kB / 1.519 GB, free: 11.75 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.516, allocations: 71.91 kB / 1.519 GB, free: 11.68 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.516, allocations: 8 kB / 1.519 GB, free: 11.67 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.5161, allocations: 8 kB / 1.519 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.355e-05/0.5161, allocations: 11.98 kB / 1.519 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.5161, allocations: 7.938 kB / 1.519 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/0.517, allocations: 0.7039 MB / 1.52 GB, free: 10.87 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.5173, allocations: 99.69 kB / 1.52 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.5173, allocations: 12 kB / 1.52 GB, free: 10.76 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.5177, allocations: 15.98 kB / 1.52 GB, free: 10.75 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.5178, allocations: 35.83 kB / 1.52 GB, free: 10.71 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.5178, allocations: 20 kB / 1.52 GB, free: 10.69 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003869/0.5182, allocations: 331.1 kB / 1.52 GB, free: 10.37 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5182, allocations: 0 / 1.52 GB, free: 10.37 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005386/0.5188, allocations: 140 kB / 1.52 GB, free: 10.23 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.0003336/0.5191, allocations: 151.1 kB / 1.521 GB, free: 10.07 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006243/0.5197, allocations: 316.3 kB / 1.521 GB, free: 9.766 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.5197, allocations: 0 / 1.521 GB, free: 9.766 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.52, allocations: 166.3 kB / 1.521 GB, free: 9.605 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.5216, allocations: 360.5 kB / 1.521 GB, free: 9.258 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.5235, allocations: 1.187 MB / 1.523 GB, free: 7.984 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.5241, allocations: 0.8862 MB / 1.523 GB, free: 7.07 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.5242, allocations: 43.44 kB / 1.523 GB, free: 7.027 MB / 1.217 GB Notification: Performance of SimCode: time 3.31e-07/0.5242, allocations: 0 / 1.523 GB, free: 7.027 MB / 1.217 GB Notification: Performance of Templates: time 0.01242/0.5366, allocations: 8.721 MB / 1.532 GB, free: 14.39 MB / 1.233 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/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: 11.913509563019034]